diff --git a/src/main.rs b/src/main.rs index edb6433..6416a51 100644 --- a/src/main.rs +++ b/src/main.rs @@ -11,6 +11,7 @@ const BASE_URL: &str = "https://api.azirevpn.com/v1"; #[derive(Clap, Debug)] struct Opts { + /// Enables JSON output #[clap(short, long)] json: bool, @@ -27,8 +28,13 @@ struct ConfigOpts { #[derive(Clap, Debug)] enum Command { + /// Prints the list of VPN endpoints Endpoints, + + /// Prints WireGuard config Config(ConfigOpts), + + /// Checks connection status Check, }