refactor(cli): simplify metadata command parameters (#6364)

Signed-off-by: WenyXu <wenymedia@gmail.com>
This commit is contained in:
Weny Xu
2025-06-20 17:00:21 +08:00
committed by GitHub
parent c423bb31fe
commit 3fb1b726c6
2 changed files with 1 additions and 2 deletions

View File

@@ -27,7 +27,6 @@ use crate::Tool;
#[derive(Debug, Default, Parser)]
pub struct DelKeyCommand {
/// The key to delete from the metadata store.
#[clap(long)]
key: String,
/// Delete key-value pairs with the given prefix.

View File

@@ -51,7 +51,7 @@ impl GetCommand {
/// Get key-value pairs from the metadata store.
#[derive(Debug, Default, Parser)]
pub struct GetKeyCommand {
/// The key to get from the metadata store. If empty, returns all key-value pairs.
/// The key to get from the metadata store.
#[clap(default_value = "")]
key: String,