Commit 9003ad28 authored by gabi-250's avatar gabi-250 🕸️
Browse files

arti: Add missing subcommand docs

parent a8c924bc
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -28,6 +28,7 @@ pub(crate) enum HscSubcommands {
    Hsc(HscSubcommand),
}

/// The `hsc` subcommand.
#[derive(Debug, Subcommand)]
pub(crate) enum HscSubcommand {
    /// Prepare a service discovery key for connecting
@@ -49,6 +50,7 @@ pub(crate) enum HscSubcommand {
    CTorMigrate(CTorMigrateArgs),
}

/// The `hsc-key` subcommand.
#[derive(Debug, Subcommand)]
pub(crate) enum KeySubcommand {
    /// Get or generate a hidden service client key
+2 −0
Original line number Diff line number Diff line
@@ -25,6 +25,7 @@ pub(crate) enum HssSubcommands {
    Hss(Hss),
}

/// The `hss` subcommand and args.
#[derive(Debug, Parser)]
pub(crate) struct Hss {
    /// Arguments shared by all hss subcommands.
@@ -36,6 +37,7 @@ pub(crate) struct Hss {
    command: HssSubcommand,
}

/// The `hss` subcommand.
#[derive(Subcommand, Debug, Clone)]
pub(crate) enum HssSubcommand {
    /// Print the .onion address of a hidden service
+1 −0
Original line number Diff line number Diff line
@@ -33,6 +33,7 @@ pub(crate) enum KeysSubcommands {
    Keys(KeysSubcommand),
}

/// The `keys` subcommand.
#[derive(Subcommand, Debug, Clone)]
pub(crate) enum KeysSubcommand {
    /// List keys and certificates.
+1 −0
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@ pub(crate) enum RawSubcommands {
    KeysRaw(RawSubcommand),
}

/// The `keys-raw` subcommand.
#[derive(Subcommand, Debug, Clone)]
pub(crate) enum RawSubcommand {
    /// Remove keystore entry by raw ID.