part of darn;

class UpdateCommand extends Command {
  @override
  ArgParser get arguments =>
      new ArgParser();
  
  @override
  String get name => "update";
  
  @override
  void run(ArgResults args) {
    executeCommands([
      "gclient sync -n",
      "gclient runhooks"
    ]);
  }
}
part of darn;

class UpdateCommand extends Command {
  @override
  ArgParser get arguments =>
      new ArgParser();
  
  @override
  String get name => "update";
  
  @override
  void run(ArgResults args) {
    verifyDartSource();
    executeCommands([
      "gclient sync -n",
      "gclient runhooks"
    ]);
  }
}
Verify Dart Source Directory for Update Command
Verify Dart Source Directory for Update Command
