CommandRunner<T> constructor

CommandRunner<T>(
  1. String executableName,
  2. String description, {
  3. int? usageLineLength,
})

Implementation

CommandRunner(this.executableName, this.description, {int? usageLineLength})
    : _argParser = ArgParser(usageLineLength: usageLineLength) {
  argParser.addFlag('help', abbr: 'h', negatable: false, help: 'Print this usage information.');
  addCommand(HelpCommand<T>());
}