rename full_context as all_files (#366)
This commit is contained in:
parent
4cc1dde625
commit
6cd8f66a76
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue