Executor constructor
Executor(})
Implementation
new(
this.name,
this.shortDescription,
String version,
List<Command> commands, {
this.longDescription,
List<AccessorListOption>? accessors,
List<Flag>? flags,
List<Option>? options,
List<String>? defaultCommandPath,
this.context,
this.helpFormatter,
}) : _version = _validateVersion(version),
commands = List.unmodifiable(commands),
accessors = List.unmodifiable(accessors ?? const []),
flags = List.unmodifiable(flags ?? const []),
options = List.unmodifiable(options ?? const []),
defaultCommandPath = defaultCommandPath == null
? null
: List.unmodifiable(defaultCommandPath);