Skip to content

Commit

Permalink
docs: add docs for store subcommand (#2097)
Browse files Browse the repository at this point in the history
Closes #2095
  • Loading branch information
ellie authored Jun 7, 2024
1 parent eb4a5ab commit 85aa88a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions crates/atuin/src/command/client/store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,26 @@ mod verify;
#[derive(Subcommand, Debug)]
#[command(infer_subcommands = true)]
pub enum Cmd {
/// Print the current status of the record store
Status,

/// Rebuild a store (eg atuin store rebuild history)
Rebuild(rebuild::Rebuild),

/// Re-encrypt the store with a new key (potential for data loss!)
Rekey(rekey::Rekey),

/// Delete all records in the store that cannot be decrypted with the current key
Purge(purge::Purge),

/// Verify that all records in the store can be decrypted with the current key
Verify(verify::Verify),

/// Push all records to the remote sync server (one way sync)
#[cfg(feature = "sync")]
Push(push::Push),

/// Pull records from the remote sync server (one way sync)
#[cfg(feature = "sync")]
Pull(pull::Pull),
}
Expand Down

0 comments on commit 85aa88a

Please sign in to comment.