feat: bootstrap awg2 harness rust workspace and docs
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
use std::path::PathBuf;
|
||||
|
||||
use clap::{Parser, Subcommand};
|
||||
|
||||
#[derive(Debug, Parser)]
|
||||
#[command(name = "awg2-harness")]
|
||||
pub struct Cli {
|
||||
#[arg(long)]
|
||||
pub config: Option<PathBuf>,
|
||||
|
||||
#[command(subcommand)]
|
||||
pub command: Command,
|
||||
}
|
||||
|
||||
#[derive(Debug, Subcommand)]
|
||||
pub enum Command {
|
||||
Daemon,
|
||||
ApplyLimits,
|
||||
ApplyFirewall,
|
||||
Status,
|
||||
EnsureSwap,
|
||||
ValidateConfig,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user