Cli constructor
Cli({
- CliTerminal? terminal,
- LogLevel level = LogLevel.info,
- CliTheme? theme,
- TwkStrings strings = const TwkStrings(),
- SourceLines? sourceLines,
A console on terminal, the process's stdio unless given one,
showing what level lets through in theme, in the words strings,
the source of an error as sourceLines gives it.
Implementation
Cli({
CliTerminal? terminal,
this.level = LogLevel.info,
CliTheme? theme,
this.strings = const TwkStrings(),
this.sourceLines,
}) : terminal = terminal ?? CliTerminal.system(),
theme = theme ?? const CliTheme();