From 2dc77f7d0e7526b133ba790f6e7999d036392874 Mon Sep 17 00:00:00 2001 From: Gary <117497221+GaryZhous@users.noreply.github.com> Date: Fri, 20 Jun 2025 15:42:41 -0400 Subject: [PATCH 1/2] feat (cli): add an alias --id for --name param for goose session command --- crates/goose-cli/src/cli.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/goose-cli/src/cli.rs b/crates/goose-cli/src/cli.rs index 047f7b1532b3..70f4801a7eaa 100644 --- a/crates/goose-cli/src/cli.rs +++ b/crates/goose-cli/src/cli.rs @@ -43,7 +43,8 @@ struct Identifier { long, value_name = "NAME", help = "Name for the chat session (e.g., 'project-x')", - long_help = "Specify a name for your chat session. When used with --resume, will resume this specific session if it exists." + long_help = "Specify a name for your chat session. When used with --resume, will resume this specific session if it exists.", + alias = "id", )] name: Option, From 92b9a6ad8536e90fa257b7b4e4af7014985f404a Mon Sep 17 00:00:00 2001 From: Gary <117497221+GaryZhous@users.noreply.github.com> Date: Fri, 20 Jun 2025 16:23:47 -0400 Subject: [PATCH 2/2] fixed rust formatting issue --- crates/goose-cli/src/cli.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/goose-cli/src/cli.rs b/crates/goose-cli/src/cli.rs index 70f4801a7eaa..de2e0afbfcb2 100644 --- a/crates/goose-cli/src/cli.rs +++ b/crates/goose-cli/src/cli.rs @@ -44,7 +44,7 @@ struct Identifier { value_name = "NAME", help = "Name for the chat session (e.g., 'project-x')", long_help = "Specify a name for your chat session. When used with --resume, will resume this specific session if it exists.", - alias = "id", + alias = "id" )] name: Option,