CliRunner constructor

CliRunner({
  1. IOSink? sink,
})

Implementation

CliRunner({
  super.sink,
}) : super(
        executableName: 'babel',
        description: babelDescription,
        $commands: <BaseCommand>[
          ListCommand(),
          SortCommand(),
          CleanCommand(),
        ],
        loggerTheme: LoggerTheme(
          sections: <LogSection>[LogSection.message],
          colorMap: BabelTheme.logColorMap,
        ),
        logo: BabelTheme.logo,
      ) {
  Trace.listItemThemeMap = BabelTheme.listItemThemeMap;
}