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]
[Description("Prints a test message to the console.")]
[Parameters("none")]
[Parameters("None")]
[Usage("> Test")]
public static string Test() => "SUCCESS: Console.Waterworks is wired into Wet Pancake CLI.";
[ListCommand]
[Description("Lists out the commands this program offers.")]
[Parameters("none")]
[Parameters("None")]
[Usage("> Help")]
public static string Help() => new CW_Liaison().RequestHelpDocumentation("WetPancakeCLI");
[ListCommand]
[Description("Exits out of the program.")]
[Parameters("none")]
[Parameters("None")]
[Usage("> Exit")]
public static void Exit() => Environment.Exit(ExitCode);
[ListCommand]
[Description("Generates random text, the number of sentences generated is randomly determined.")]
[Parameters("none")]
[Parameters("None")]
[Usage("> GenerateRandomText")]
public static string GenerateRandomText()
{
@ -60,7 +60,7 @@ namespace WetPancakeCLI
}
[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")]
[Usage("> RequestTextFromFile 3 6 C:/yourfile.txt")]
public static string GenerateTextFromFile(int gibberishLevel, int sentences, string filePath)

Loading…
Cancel
Save