anchor.diff:        _logging.severe('Cannot specify both --mojo-debug and --mojo-release');
         return 1;
       }
  +    List<String> args = [];
  +    if (argResults['checked']) {
  +      args.add('--args-for=mojo:sky_viewer --enable-checked-mode');
  +    }
  +    String mojoPath = argResults['mojo-path'];
  +    _MojoConfig mojoConfig = argResults['mojo-debug'] ? _MojoConfig.Debug : _MojoConfig.Release;
       String appPath = await _makePathAbsolute(argResults['app']);
  +
       if (argResults['android']) {
  -      return _runAndroid(argResults, appPath);
  +      return _runAndroid(mojoPath, mojoConfig, appPath, args);
       } else {
  -      return _runLinux(argResults, appPath);
  +      return _runLinux(mojoPath, mojoConfig, appPath, args);
       }
     }
   }
  
positive.code: import 'dart:async';
  import 'dart:io';
  
  import 'package:args/args.dart';
  import 'package:args/command_runner.dart';
  import 'package:logging/logging.dart';
  import 'package:path/path.dart' as path;
  
negative.code:         args.add('--verbose');
        }
      }
      args.addAll(additionalArgs);
      return runCommandAndStreamOutput(command, args);
    }
  
    Future<int> _runLinux(String mojoPath, _MojoConfig mojoConfig, String appPath, List<String> additionalArgs) async {
      String viewerPath = await _makePathAbsolute(await ArtifactStore.getPath(Artifact.SkyViewerMojo));
      String mojoBuildType = mojoConfig == _MojoConfig.Debug ? 'Debug' : 'Release';
      String mojoShellPath = await _makePathAbsolute(path.join(mojoPath, 'out', mojoBuildType, 'mojo_shell'));
      List<String> args = [
        'file://${appPath}',
        '--url-mappings=mojo:sky_viewer=file://${viewerPath}'
      ];
      args.addAll(additionalArgs);
      return runCommandAndStreamOutput(mojoShellPath, args);
    }
  
  