mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-29 12:11:09 +00:00
feat(commands): Implement argument handling for custom commands via a prompt pipeline (#4702)
This commit is contained in:
parent
2d1eafae95
commit
bbe95f1eaa
9 changed files with 393 additions and 18 deletions
|
|
@ -28,6 +28,11 @@ export const createMockCommandContext = (
|
|||
overrides: DeepPartial<CommandContext> = {},
|
||||
): CommandContext => {
|
||||
const defaultMocks: CommandContext = {
|
||||
invocation: {
|
||||
raw: '',
|
||||
name: '',
|
||||
args: '',
|
||||
},
|
||||
services: {
|
||||
config: null,
|
||||
settings: { merged: {} } as LoadedSettings,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue