Browse Source

Added help attributes to the generate text command-method.

master
Craig Oates 6 years ago
parent
commit
6689ba54b1
  1. 4
      WetPancakeCLI/ConsoleCommands.cs

4
WetPancakeCLI/ConsoleCommands.cs

@ -36,6 +36,10 @@ namespace WetPancakeCLI
return result;
}
[ListCommand]
[Description ("Generates text using the gibberish level and number of sentences specified by the user.")]
[Parameters("gibberishLevel: int sentences: int")]
[Usage("> GenerateText 5 10")]
public static string GenerateText(int gibberishLevel, int sentences)
{
var result = RequestText(gibberishLevel, sentences);

Loading…
Cancel
Save