claude-code: added 'commandsDir' option to specify commands from filesystem
This commit is contained in:
parent
a641bbbb9b
commit
be37a3492d
5 changed files with 47 additions and 0 deletions
|
|
@ -26,11 +26,18 @@
|
|||
test-agent = "test content";
|
||||
};
|
||||
agentsDir = ./agents;
|
||||
|
||||
# assert fail: cannot set commands and commandsDir at the same time.
|
||||
commands = {
|
||||
test-command = "test content";
|
||||
};
|
||||
commandsDir = ./commands;
|
||||
};
|
||||
|
||||
test.asserts.assertions.expected = [
|
||||
"`programs.claude-code.package` cannot be null when `mcpServers` is configured"
|
||||
"Cannot specify both `programs.claude-code.memory.text` and `programs.claude-code.memory.source`"
|
||||
"Cannot specify both `programs.claude-code.agents` and `programs.claude-code.agentsDir`"
|
||||
"Cannot specify both `programs.claude-code.commands` and `programs.claude-code.commandsDir`"
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue