Skip to content

Commit 8b5a7f3

Browse files
authored
Fix: not being able to run slash context subcommand (#280)
1 parent 52476f8 commit 8b5a7f3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

crates/chat-cli/src/cli/chat/cli/context.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,25 +39,30 @@ pub enum ContextSubcommand {
3939
Show {
4040
/// Print out each matched file's content, hook configurations, and last
4141
/// session.conversation summary
42+
#[arg(short, long)]
4243
expand: bool,
4344
},
4445
/// Add context rules (filenames or glob patterns)
4546
Add {
4647
/// Add to global rules (available in all profiles)
48+
#[arg(short, long)]
4749
global: bool,
4850
/// Include even if matched files exceed size limits
51+
#[arg(short, long)]
4952
force: bool,
5053
paths: Vec<String>,
5154
},
5255
/// Remove specified rules from current profile
5356
Remove {
5457
/// Remove specified rules globally
58+
#[arg(short, long)]
5559
global: bool,
5660
paths: Vec<String>,
5761
},
5862
/// Remove all rules from current profile
5963
Clear {
6064
/// Remove global rules
65+
#[arg(short, long)]
6166
global: bool,
6267
},
6368
}

0 commit comments

Comments
 (0)