diff options
| author | Ellie Huxtable <ellie@elliehuxtable.com> | 2024-06-07 17:18:55 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-07 17:18:55 +0100 |
| commit | 85aa88abab676d32ff6b3996e1ecc37f97b75347 (patch) | |
| tree | 74b58ee76e287622edacc7bc53b46bf96acabb13 | |
| parent | chore: update email, gitignore, tweak ui (#2094) (diff) | |
| download | atuin-85aa88abab676d32ff6b3996e1ecc37f97b75347.zip | |
docs: add docs for store subcommand (#2097)
Closes #2095
| -rw-r--r-- | crates/atuin/src/command/client/store.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/crates/atuin/src/command/client/store.rs b/crates/atuin/src/command/client/store.rs index 8e53954d..198cbd69 100644 --- a/crates/atuin/src/command/client/store.rs +++ b/crates/atuin/src/command/client/store.rs @@ -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), } |
