anchor.diff:      dartSdk = results['sdk'];
     }
   
  -
  -  if (results['daemon'] != null && results['client'] != null) {
  -    print("You must choose `daemon` or `client` modes to run in. Cannot choose both.");
  -    _printUsage(parser);
  -    return;
  -  }
  -
  -  Logger.root.onRecord.listen((LogRecord record) {
  -    print(record.message);
  -  });
  -
  -
  -  if (results['client']) {
  +  if (clientMode) {
       print("Running in client mode");
       String package = results['package'];
       String version = results['version'];
  
positive.code:     parser.addFlag('help',
          abbr: 'h',
          negatable: false,
          help: 'show command help');
      parser.addOption(
          'sdk',
          abbr: 's',
          help: 'Path to the sdk. Required.');
  
      // Should be run in one of two modes
      //
  
negative.code:   }
  }
  
  // TODO(adam): enum
  bool clientMode = false;
  bool serverMode = false;
  
  void main(args) {
    Logger.root.onRecord.listen((LogRecord record) {
      print(record.message);
    });
  
    // TODO(adam): move arg parsing and command invoking to `unscripted`
    ArgParser parser = _createArgsParser();
    ArgResults results = parser.parse(args);
  
  
    String dartSdk;
    if (results['sdk'] == null) {
  