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