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