Skip to content

Commit 26bb8b6

Browse files
committed
cli: improve command description
1 parent c8fd275 commit 26bb8b6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

secretspec/src/cli/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ struct Cli {
2727
/// initialization, secret management, configuration, and import operations.
2828
#[derive(Subcommand)]
2929
enum Commands {
30-
/// Initialize a new secretspec.toml from a provider
30+
/// Initialize a new secretspec.toml (optionally, from a provider)
3131
Init {
3232
/// Provider URL to import from (e.g., dotenv://.env, dotenv://.env.production)
3333
/// Currently only dotenv provider is supported.
@@ -70,7 +70,7 @@ enum Commands {
7070
#[arg(trailing_var_arg = true)]
7171
command: Vec<String>,
7272
},
73-
/// Check if all required secrets are available
73+
/// Check if all required secrets are in the provider, if not set them
7474
Check {
7575
/// Provider backend to use
7676
#[arg(short, long, env = "SECRETSPEC_PROVIDER")]
@@ -79,12 +79,12 @@ enum Commands {
7979
#[arg(short = 'P', long, env = "SECRETSPEC_PROFILE")]
8080
profile: Option<String>,
8181
},
82-
/// Configure user settings
82+
/// Init or show ~/.config/secretspec/config.toml
8383
Config {
8484
#[command(subcommand)]
8585
action: ConfigAction,
8686
},
87-
/// Import secrets from one provider to the default provider
87+
/// Import secrets from a provider to another provider
8888
Import {
8989
/// Provider backend to import from (secrets will be imported to the default provider)
9090
from_provider: String,

0 commit comments

Comments
 (0)