CliArgs constructor
const
CliArgs({
- String? prompt,
- String? model,
- String? apiKey,
- String? apiEndpoint,
- bool headless = false,
- bool verbose = false,
- bool version = false,
- bool help = false,
- bool noColor = false,
- String? sessionId,
- String? resumeSession,
- String? workingDir,
- List<
String> files = const [], - Map<
String, String> env = const {}, - bool stdinPipe = false,
- String? outputFormat,
- int? maxTokens,
- bool dangerouslySkipPermissions = false,
Implementation
const CliArgs({
this.prompt,
this.model,
this.apiKey,
this.apiEndpoint,
this.headless = false,
this.verbose = false,
this.version = false,
this.help = false,
this.noColor = false,
this.sessionId,
this.resumeSession,
this.workingDir,
this.files = const [],
this.env = const {},
this.stdinPipe = false,
this.outputFormat,
this.maxTokens,
this.dangerouslySkipPermissions = false,
});