CliArgs constructor

const CliArgs({
  1. String? prompt,
  2. String? model,
  3. String? apiKey,
  4. String? apiEndpoint,
  5. bool headless = false,
  6. bool verbose = false,
  7. bool version = false,
  8. bool help = false,
  9. bool noColor = false,
  10. String? sessionId,
  11. String? resumeSession,
  12. String? workingDir,
  13. List<String> files = const [],
  14. Map<String, String> env = const {},
  15. bool stdinPipe = false,
  16. String? outputFormat,
  17. int? maxTokens,
  18. 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,
});