Browse Source

Minor spelling in ConsoleCommands.

master
Craig Oates 6 years ago
parent
commit
4bec8e10e8
  1. 10
      WetPancakeCLI/ConsoleCommands.cs

10
WetPancakeCLI/ConsoleCommands.cs

@ -11,25 +11,25 @@ namespace WetPancakeCLI
{ {
[ListCommand] [ListCommand]
[Description("Prints a test message to the console.")] [Description("Prints a test message to the console.")]
[Parameters("none")] [Parameters("None")]
[Usage("> Test")] [Usage("> Test")]
public static string Test() => "SUCCESS: Console.Waterworks is wired into Wet Pancake CLI."; public static string Test() => "SUCCESS: Console.Waterworks is wired into Wet Pancake CLI.";
[ListCommand] [ListCommand]
[Description("Lists out the commands this program offers.")] [Description("Lists out the commands this program offers.")]
[Parameters("none")] [Parameters("None")]
[Usage("> Help")] [Usage("> Help")]
public static string Help() => new CW_Liaison().RequestHelpDocumentation("WetPancakeCLI"); public static string Help() => new CW_Liaison().RequestHelpDocumentation("WetPancakeCLI");
[ListCommand] [ListCommand]
[Description("Exits out of the program.")] [Description("Exits out of the program.")]
[Parameters("none")] [Parameters("None")]
[Usage("> Exit")] [Usage("> Exit")]
public static void Exit() => Environment.Exit(ExitCode); public static void Exit() => Environment.Exit(ExitCode);
[ListCommand] [ListCommand]
[Description("Generates random text, the number of sentences generated is randomly determined.")] [Description("Generates random text, the number of sentences generated is randomly determined.")]
[Parameters("none")] [Parameters("None")]
[Usage("> GenerateRandomText")] [Usage("> GenerateRandomText")]
public static string GenerateRandomText() public static string GenerateRandomText()
{ {
@ -60,7 +60,7 @@ namespace WetPancakeCLI
} }
[ListCommand] [ListCommand]
[Description("Loads the specified .txt file and generates text based on it using the gibberish level and number of sentences specified by the user.")] [Description("Loads the specified .txt file and generates text based on it using the gibberish level and number of sentences specified by the user. Gibberish level must be greater the 1.")]
[Parameters("gibberish level: int, sentences: int, file path: string")] [Parameters("gibberish level: int, sentences: int, file path: string")]
[Usage("> RequestTextFromFile 3 6 C:/yourfile.txt")] [Usage("> RequestTextFromFile 3 6 C:/yourfile.txt")]
public static string GenerateTextFromFile(int gibberishLevel, int sentences, string filePath) public static string GenerateTextFromFile(int gibberishLevel, int sentences, string filePath)

Loading…
Cancel
Save