From 59dd604cf2905adf5fce7e9bb7b97886891aae81 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Fri, 27 Oct 2017 03:18:48 -0400 Subject: rename TrainerMod to Console Commands to clarify purpose --- .../Commands/Other/ShowGameFilesCommand.cs | 26 ---------------------- 1 file changed, 26 deletions(-) delete mode 100644 src/TrainerMod/Framework/Commands/Other/ShowGameFilesCommand.cs (limited to 'src/TrainerMod/Framework/Commands/Other/ShowGameFilesCommand.cs') diff --git a/src/TrainerMod/Framework/Commands/Other/ShowGameFilesCommand.cs b/src/TrainerMod/Framework/Commands/Other/ShowGameFilesCommand.cs deleted file mode 100644 index 67fa83a3..00000000 --- a/src/TrainerMod/Framework/Commands/Other/ShowGameFilesCommand.cs +++ /dev/null @@ -1,26 +0,0 @@ -using System.Diagnostics; -using StardewModdingAPI; - -namespace TrainerMod.Framework.Commands.Other -{ - /// A command which shows the game files. - internal class ShowGameFilesCommand : TrainerCommand - { - /********* - ** Public methods - *********/ - /// Construct an instance. - public ShowGameFilesCommand() - : base("show_game_files", "Opens the game folder.") { } - - /// Handle the command. - /// Writes messages to the console and log file. - /// The command name. - /// The command arguments. - public override void Handle(IMonitor monitor, string command, ArgumentParser args) - { - Process.Start(Constants.ExecutionPath); - monitor.Log($"OK, opening {Constants.ExecutionPath}.", LogLevel.Info); - } - } -} -- cgit