Ejemplo n.º 1
0
 private static void On(SaveCommand command)
 {
     fileSystem.Save(command.SerializationFilePath);
     WriteSuccessLine("disk saved");
 }
Ejemplo n.º 2
0
 public override bool TryBuildCommand(string[] args, out object command)
 {
     var sv = (command = new SaveCommand()) as SaveCommand;
     return RequirePath(args, 0, out sv.SerializationFilePath);
 }