|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
using Console.Waterworks.Attributes; |
|
|
|
|
using System; |
|
|
|
|
using WetPancake; |
|
|
|
|
//using WetPancake; |
|
|
|
|
using static WetPancake.Pancake; |
|
|
|
|
using static System.Environment; |
|
|
|
|
|
|
|
|
|
namespace WetPancakeCLI |
|
|
|
@ -28,18 +28,19 @@ namespace WetPancakeCLI
|
|
|
|
|
public static void Exit() => Environment.Exit(ExitCode); |
|
|
|
|
|
|
|
|
|
[ListCommand] |
|
|
|
|
[Description("Generates random text, the number of sentences generated is determined by the user.")] |
|
|
|
|
[Parameters("int: sentenences")] |
|
|
|
|
[Description("Generates random text, the number of sentences generated is randomly determined.")] |
|
|
|
|
[Parameters("none")] |
|
|
|
|
[Usage("> GenerateRandomText")] |
|
|
|
|
public static string GenerateRandomText(int sentences) |
|
|
|
|
public static string GenerateRandomText() |
|
|
|
|
{ |
|
|
|
|
var result = Pancake.RequestRandomText; |
|
|
|
|
var result = RequestRandomText2; |
|
|
|
|
return result; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static string test1() |
|
|
|
|
{ |
|
|
|
|
return "This is a test method for quickly testing things out"; |
|
|
|
|
var result = RequestRandomText; |
|
|
|
|
return result; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|