···1616#[derive(Subcommand, Debug)]
1717pub enum Commands {
1818 /// Add a value to the store with the given key
1919- Add(AddArgs),
1919+ Add { key: String, value: String },
20202121 /// Get values from the store
2222 Get(GetArgs),
···2424 /// Remove values from the store
2525 Rm(RemoveArgs),
26262727- /// Output the alias command for key / value pairs
2727+ /// Output the alias command for key / value pairs
2828 Alias(SetArgs),
29293030- /// Output the export command for a key / value pairs
3030+ /// Output the export command for a key / value pairs
3131 Export(SetArgs),
32323333 /// List all values in the store
···38383939 /// Purges the .safirstore directory, removing it and its contents
4040 Purge,
4141-}
4242-4343-/// Arguments for adding a value to the store with a given key
4444-#[derive(Args, Debug)]
4545-pub struct AddArgs {
4646- /// Name of the item to store
4747- pub key: String,
4848-4949- /// Value to store
5050- pub value: String,
5141}
52425343/// Arguments for retrieving values from the store with the given keys