mirror of
https://github.com/instructkr/claw-code.git
synced 2026-06-06 09:52:43 -04:00
Compare commits
4 Commits
fix/permis
...
fix/resume
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bac47d91bd | ||
|
|
c956e46751 | ||
|
|
08fc38f51b | ||
|
|
4fc63e338d |
@@ -926,14 +926,6 @@ fn parse_args(args: &[String]) -> Result<CliAction, String> {
|
|||||||
}
|
}
|
||||||
Ok(CliAction::Diff { output_format })
|
Ok(CliAction::Diff { output_format })
|
||||||
}
|
}
|
||||||
// `claw permissions <mode>` falls through to the LLM when called
|
|
||||||
// with a subcommand argument because parse_single_word_command_alias
|
|
||||||
// only intercepts the bare single-word form. Catch all multi-word
|
|
||||||
// forms here and return a structured guidance error so no network
|
|
||||||
// call or session is created.
|
|
||||||
"permissions" => Err(format!(
|
|
||||||
"`claw permissions` is a slash command. Start `claw` and run `/permissions` inside the REPL.\n Usage /permissions [read-only|workspace-write|danger-full-access]"
|
|
||||||
)),
|
|
||||||
"skills" => {
|
"skills" => {
|
||||||
let args = join_optional_args(&rest[1..]);
|
let args = join_optional_args(&rest[1..]);
|
||||||
match classify_skills_slash_command(args.as_deref()) {
|
match classify_skills_slash_command(args.as_deref()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user