mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
rename full_context as all_files (#366)
This commit is contained in:
@@ -50,7 +50,7 @@ interface CliArgs {
|
|||||||
sandbox: boolean | string | undefined;
|
sandbox: boolean | string | undefined;
|
||||||
debug: boolean | undefined;
|
debug: boolean | undefined;
|
||||||
prompt: string | undefined;
|
prompt: string | undefined;
|
||||||
full_context: boolean | undefined;
|
all_files: boolean | undefined;
|
||||||
}
|
}
|
||||||
|
|
||||||
async function parseArguments(): Promise<CliArgs> {
|
async function parseArguments(): Promise<CliArgs> {
|
||||||
@@ -77,7 +77,7 @@ async function parseArguments(): Promise<CliArgs> {
|
|||||||
description: 'Run in debug mode?',
|
description: 'Run in debug mode?',
|
||||||
default: false,
|
default: false,
|
||||||
})
|
})
|
||||||
.option('full_context', {
|
.option('all_files', {
|
||||||
alias: 'a',
|
alias: 'a',
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
description: 'Include ALL files in context?',
|
description: 'Include ALL files in context?',
|
||||||
@@ -381,7 +381,7 @@ export async function loadCliConfig(settings: Settings): Promise<Config> {
|
|||||||
process.cwd(),
|
process.cwd(),
|
||||||
debugMode,
|
debugMode,
|
||||||
argv.prompt || '',
|
argv.prompt || '',
|
||||||
argv.full_context || false,
|
argv.all_files || false,
|
||||||
settings.toolDiscoveryCommand,
|
settings.toolDiscoveryCommand,
|
||||||
settings.toolCallCommand,
|
settings.toolCallCommand,
|
||||||
settings.mcpServerCommand,
|
settings.mcpServerCommand,
|
||||||
|
|||||||
Reference in New Issue
Block a user