Skip to content

Commit

Permalink
docs: add missing cli help text (#1945)
Browse files Browse the repository at this point in the history
  • Loading branch information
ellie committed Apr 15, 2024
1 parent c41998e commit 50a73f0
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions atuin/src/command/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,25 +45,31 @@ pub enum Cmd {
#[command(flatten)]
Sync(sync::Cmd),

/// Manage your sync account
#[cfg(feature = "sync")]
Account(account::Cmd),

/// Get or set small key-value pairs
#[command(subcommand)]
Kv(kv::Cmd),

/// Manage the atuin data store
#[command(subcommand)]
Store(store::Cmd),

/// Manage your dotfiles with Atuin
#[command(subcommand)]
Dotfiles(dotfiles::Cmd),

/// Print Atuin's shell init script
#[command()]
Init(init::Cmd),

/// Information about dotfiles locations and ENV vars
#[command()]
Info,

/// Run the doctor to check for common issues
#[command()]
Doctor,

Expand Down
3 changes: 2 additions & 1 deletion atuin/src/command/client/account.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ pub enum Commands {
/// Log out
Logout,

// Delete your account, and all synced data
/// Delete your account, and all synced data
Delete,

/// Change your password
ChangePassword(change_password::Cmd),
}

Expand Down
1 change: 1 addition & 0 deletions atuin/src/command/client/dotfiles.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ mod alias;
#[derive(Subcommand, Debug)]
#[command(infer_subcommands = true)]
pub enum Cmd {
/// Manage shell aliases with Atuin
#[command(subcommand)]
Alias(alias::Cmd),
}
Expand Down

0 comments on commit 50a73f0

Please sign in to comment.