diff options
| author | Namilskyy <alive6863@gmail.com> | 2025-11-25 19:30:30 +0300 |
|---|---|---|
| committer | Namilskyy <alive6863@gmail.com> | 2025-11-25 19:30:30 +0300 |
| commit | 2f3c93066163b32eb62aa15797ec4fff90c7cce8 (patch) | |
| tree | 24d0fa6dcd6043885002e0efd707554b15fa0d83 /src/main.rs | |
| parent | 778f713b2c4b8f8311daf2b878de91e449f69988 (diff) | |
Switched unworking i2p_client to emissary-core library as i2p implementation.
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 |
