fix: make id mandatory for delete and optional for get/info

Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
This commit is contained in:
Andrew Phillips
2025-08-29 14:24:19 -03:00
parent 019591ae23
commit 692a403a7e
3 changed files with 11 additions and 5 deletions

View File

@@ -55,7 +55,6 @@ pub struct ModeArgs {
#[arg(help(
"Get an item either by it's ID or by a combination of matching tags and metatdata"
))]
#[arg(requires = "ids_or_tags")]
pub info: bool,
#[arg(group("mode"), help_heading("Mode Options"), short('S'), long, conflicts_with_all(["save", "get", "diff", "list", "delete", "info", "server"]))]