From a4a0e2e4da96de74170850608bf8da2830c6857f Mon Sep 17 00:00:00 2001 From: Ashwin Arvind Kulkarni Date: Mon, 9 Oct 2023 22:45:45 +0530 Subject: [PATCH] feat(ockam/credential): Set the vault argument value name and add doc string Set the `VAULT_NAME` argument in the Ockam credential issue module and added a doc string describing the name of the Vault to be used for issuing credentials. This change improves code readability and documentation for Vault usage. --- .../rust/ockam/ockam_command/src/credential/issue.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/implementations/rust/ockam/ockam_command/src/credential/issue.rs b/implementations/rust/ockam/ockam_command/src/credential/issue.rs index 27b66a41d45..50a31d2b708 100644 --- a/implementations/rust/ockam/ockam_command/src/credential/issue.rs +++ b/implementations/rust/ockam/ockam_command/src/credential/issue.rs @@ -28,7 +28,8 @@ pub struct IssueCommand { #[arg(short, long = "attribute", value_name = "ATTRIBUTE")] pub attributes: Vec, - #[arg()] + /// Name of the Vault that will be used to issue the credential. + #[arg(name = "VAULT_NAME")] pub vault: Option, /// Encoding Format