Skip to content

Commit

Permalink
CLI: Minor subcommand documentation touchups.
Browse files Browse the repository at this point in the history
  • Loading branch information
gibbz00 committed Feb 11, 2024
1 parent 50cdda2 commit d4a9ecd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Added

- CLI subcommand documentation for `rops keys {add,remove}`.

## [0.1.1] - 2024-02-11

### Added
Expand Down
2 changes: 1 addition & 1 deletion crates/cli/src/args/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pub enum CliSubcommand {
/// Edit an encrypted rops file using $EDITOR. (Fallbacks to vim then nano and lastly vi.)
/// Outputs to stdout if input is piped
Edit(EditArgs),
/// Manage encrypt rops file keys
/// Manage encrypted rops file keys
#[command(subcommand, visible_alias = "k")]
Keys(KeysSubcommand),
/// Make a config the single source of configuration truth for an encrypted rops file
Expand Down
2 changes: 2 additions & 0 deletions crates/cli/src/args/keys.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ use crate::*;

#[derive(Subcommand)]
pub enum KeysSubcommand {
/// Add integration key IDs to an encrypted rops file
Add(KeyInputArgs),
/// Remove intregration key IDs of an encrypted rops file and rotate the data key.
Remove(KeyInputArgs),
}

Expand Down

0 comments on commit d4a9ecd

Please sign in to comment.