From d4a9ecd1a1e367ebea271755fbf4fee2f94148ca Mon Sep 17 00:00:00 2001 From: gibbz00 Date: Sun, 11 Feb 2024 14:42:29 +0100 Subject: [PATCH] CLI: Minor subcommand documentation touchups. --- CHANGELOG.md | 4 ++++ crates/cli/src/args/core.rs | 2 +- crates/cli/src/args/keys.rs | 2 ++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f8af540..350ec36 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/crates/cli/src/args/core.rs b/crates/cli/src/args/core.rs index d669955..5ed6005 100644 --- a/crates/cli/src/args/core.rs +++ b/crates/cli/src/args/core.rs @@ -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 diff --git a/crates/cli/src/args/keys.rs b/crates/cli/src/args/keys.rs index 39a2468..dc6bb57 100644 --- a/crates/cli/src/args/keys.rs +++ b/crates/cli/src/args/keys.rs @@ -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), }