mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-23 19:44:30 -07:00
refactor: consolidate all flags to use hyphens (deprecate underscore flags) (#3541)
This commit is contained in:
@@ -14,7 +14,7 @@ import { Settings } from './settings.js';
|
||||
// to avoid circular dependencies.
|
||||
interface SandboxCliArgs {
|
||||
sandbox?: boolean | string;
|
||||
'sandbox-image'?: string;
|
||||
sandboxImage?: string;
|
||||
}
|
||||
|
||||
const VALID_SANDBOX_COMMANDS: ReadonlyArray<SandboxConfig['command']> = [
|
||||
@@ -99,7 +99,7 @@ export async function loadSandboxConfig(
|
||||
|
||||
const packageJson = await getPackageJson();
|
||||
const image =
|
||||
argv['sandbox-image'] ??
|
||||
argv.sandboxImage ??
|
||||
process.env.GEMINI_SANDBOX_IMAGE ??
|
||||
packageJson?.config?.sandboxImageUri;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user