From 2f3c93066163b32eb62aa15797ec4fff90c7cce8 Mon Sep 17 00:00:00 2001 From: Namilskyy Date: Tue, 25 Nov 2025 19:30:30 +0300 Subject: Switched unworking i2p_client to emissary-core library as i2p implementation. --- src/main.rs | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) (limited to 'src/main.rs') 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 -- cgit v1.2.3