diff options
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index a2d4aa0..00d0116 100644 --- a/src/main.rs +++ b/src/main.rs @@ -6,6 +6,40 @@ use crate::cfg::config::Config; use crate::pkgtoolkit::pkgtools::Package; use crate::i2impl::mi2p; +use clap::{Parser, Subcommand, Args}; + +#[derive(Parser)] +struct Cli { + #[command(subcommand)] + command: Commands, +} + +#[derive(Subcommand)] +enum Commands { + Validate { + pkgname: String, + }, + Build{ + pkgname: String, + }, + Install{ + pkgname: String, + }, + Uninstall{ + pkgname: String, + }, + +} + +#[derive(Args, Clone)] +struct RemoteInstallArgs { + Verbose: bool, + Debug: bool, + Bin: bool, + Source: bool, + I2P: bool, +} + fn main() { todo!() }
\ No newline at end of file |
