CliRunner<T> constructor
CliRunner<T> (})
usageLineLength defaults to the terminal width, or 80 without a
terminal. logger defaults to a new Logger.
Implementation
CliRunner(
super.executableName,
super.description, {
this.version,
Logger? logger,
int? usageLineLength,
super.suggestionDistanceLimit,
this.completions = true,
}) : logger = logger ?? Logger(),
super(
usageLineLength: usageLineLength ??
(io.stdout.hasTerminal ? io.stdout.terminalColumns : 80),
) {
_helpCommand = commands['help'];
}