INNER CODE UNIT · Dart

BuildCliCommand

Dropsource/monarch · tools/build.dart:79

class BuildCliCommand extends Command {
  @override
  String get description => 'Builds the Monarch CLI';

  @override
  String get name => 'cli';

  BuildCliCommand() {
    argParser.addOption('out-monarch-bin',
        help: 'Path to the monarch bin directory. '
            'Defaults to out/monarch/bin.');
  }

  @override
  Future<void> run() async {
    var monarchBin = argResults?['out-monarch-bin'] ?? local_out_paths.out_bin;
    buildCli(monarchBin);
  }

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…