mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-28 19:52:02 +00:00
feat(cli): add settings support for experimental skills
- Add tools.experimentalSkills setting in settingsSchema - Read default from settings in config. ts - Add --skills as shorter alias for --experimental-skills - Update documentation for new setting Fixes #1493
This commit is contained in:
parent
985f65f8fa
commit
52db3a766d
4 changed files with 34 additions and 3 deletions
|
|
@ -332,9 +332,10 @@ export async function parseArguments(settings: Settings): Promise<CliArgs> {
|
|||
hidden: true,
|
||||
})
|
||||
.option('experimental-skills', {
|
||||
alias: ['x'],
|
||||
type: 'boolean',
|
||||
description: 'Enable experimental Skills feature',
|
||||
default: false,
|
||||
description: 'Enable experimental Skills feature (short: -x)',
|
||||
default: settings.tools?.experimentalSkills ?? false,
|
||||
})
|
||||
.option('channel', {
|
||||
type: 'string',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue