@ -166,19 +166,19 @@ namespace WetPancakeCLI
[ListCommand]
[Parameters("gibberish-level: int, sentences: int, copy-to-clipboard: bool")]
[ Description (
"Generat es text using the gibberish-level and number of sentences specified by the user.\n" +
"Mak es text using the gibberish-level and number of sentences specified by the user.\n" +
"The result goes through an extra \"cleaning\" process to remove any artefact sentences.\n" +
"Use this if you cannot tolerate the odd extra sentence.\n" +
"With that said, it does mean it is slower than its Generat eText counterpart.\n" +
"With that said, it does mean it is slower than its Mak eText counterpart.\n" +
"Gibberish-level must be between 2 and 20.\n" +
"Sentences must be greater than 0.\n" +
"Pass in \"true\" to copy the result straight to the clipboard.\n" +
"Pass in \"false\" or leave blank to not copy the result." ) ]
[ Usage ( "\n" + // Added because Console.Waterworks' rendering makes it look weird.
"> Generat eCleanText 5 10 true\n" +
"> Generat eCleanText 3 7 false \n" +
"> Generat eCleanText 9 12" ) ]
public static string Generat eCleanText( int gibberishLevel , int sentences , bool copyToClipboard = false )
"> Mak eCleanText 5 10 true\n" +
"> Mak eCleanText 3 7 false \n" +
"> Mak eCleanText 9 12" ) ]
public static string Mak eCleanText( int gibberishLevel , int sentences , bool copyToClipboard = false )
{
try
{
@ -204,20 +204,20 @@ namespace WetPancakeCLI
[ListCommand]
[Parameters("gibberish-level: int, sentences: int, file path: string, copy-to-clipboard: bool")]
[ Description ( "\n" +
"Loads the specified .txt file and generat es text based on it,\n" +
"Loads the specified .txt file and mak es text based on it,\n" +
"using the gibberish-level and number of sentences specified by the user.\n" +
"The result goes through an extra \"cleaning\" process to remove any artefact sentences.\n" +
"Use this if you cannot tolerate the odd extra sentence.\n" +
"With that said, it does mean it is slower than its Generat eTextFromFile counterpart.\n" +
"With that said, it does mean it is slower than its Mak eTextFromFile counterpart.\n" +
"Gibberish-level must be between 2 and 20.\n" +
"Sentences must be greater than 0.\n" +
"Pass in \"true\" to copy the result straight to the clipboard.\n" +
"Pass in \"false\" or leave blank to not copy the result." ) ]
[ Usage ( "\n" + // Added because Console.Waterworks' rendering makes it look weird.
"> Generat eCleanTextFromFile 3 6 C:/yourfile.txt true \n" +
"> Generat eCleanTextFromFile 5 9 C:/yourfile.txt false\n" +
"> Generat eCleanTextFromFile 7 15 C:/ yourfile.txt" ) ]
public static string Generat eCleanTextFromFile(
"> Mak eCleanTextFromFile 3 6 C:/yourfile.txt true \n" +
"> Mak eCleanTextFromFile 5 9 C:/yourfile.txt false\n" +
"> Mak eCleanTextFromFile 7 15 C:/ yourfile.txt" ) ]
public static string Mak eCleanTextFromFile(
int gibberishLevel , int sentences , string filePath , bool copyToClipboard = false )
{
try
@ -249,14 +249,14 @@ namespace WetPancakeCLI
[ListCommand]
[Parameters("copy-to-clipboard: bool")]
[ Description (
"Generates random text, the number of sentences generat ed is randomly determined.\n" +
"Makes random text, the number of sentences Mak ed is randomly determined.\n" +
"Pass in true to copy result straight to clipboard.\n" +
"Pass in \"false\" or leave blank to not copy the result." ) ]
[ Usage ( "\n" + // Added because Console.Waterworks' rendering makes it look weird.
"> Generat eRandomText true\n" +
"> Generat eRandomText false\n" +
"> Generat eRandomText" ) ]
public static string Generat eRandomText( bool copyToClipboard = false )
"> Mak eRandomText true\n" +
"> Mak eRandomText false\n" +
"> Mak eRandomText" ) ]
public static string Mak eRandomText( bool copyToClipboard = false )
{
try
{
@ -275,8 +275,8 @@ namespace WetPancakeCLI
[ListCommand]
[Parameters("gibberish-level: int, sentences: int, copy-to-clipboard: bool")]
[ Description (
"Generat es text using the gibberish-level and number of sentences specified by the user.\n" +
"This command does not run the result through the extra \"cleaning\" process like Generat eCleanText.\n" +
"Mak es text using the gibberish-level and number of sentences specified by the user.\n" +
"This command does not run the result through the extra \"cleaning\" process like Mak eCleanText.\n" +
"This means this command is faster but it might produce an extra sentence on the odd occasion.\n" +
"Use this if you prefer speed over accuracy.\n" +
"Gibberish-level must be between 2 and 20.\n" +
@ -284,10 +284,10 @@ namespace WetPancakeCLI
"Pass in \"true\" to copy the result straight to the clipboard.\n" +
"Pass in \"false\" or leave blank to not copy the result." ) ]
[ Usage ( "\n" + // Added because Console.Waterworks' rendering makes it look weird.
"> Generat eText 5 10 true\n" +
"> Generat eText 7 15 false\n" +
"> Generat eText 10 5" ) ]
public static string Generat eText( int gibberishLevel , int sentences , bool copyToClipboard = false )
"> Mak eText 5 10 true\n" +
"> Mak eText 7 15 false\n" +
"> Mak eText 10 5" ) ]
public static string Mak eText( int gibberishLevel , int sentences , bool copyToClipboard = false )
{
try
{
@ -312,9 +312,9 @@ namespace WetPancakeCLI
[ListCommand]
[Parameters("gibberish-level: int, sentences: int, file path: string")]
[ Description (
"Loads the specified .txt file and generat es text based on it,\n" +
"Loads the specified .txt file and mak es text based on it,\n" +
"using the gibberish-level and number of sentencesspecifiedby the user.\n" +
"This command does not run the result through the extra \"cleaning\" process like Generat eCleanTextFromFile.\n" +
"This command does not run the result through the extra \"cleaning\" process like Mak eCleanTextFromFile.\n" +
"This means this command is faster but it might produce an extra sentence on the odd occasion.\n" +
"Use this if you prefer speed over accuracy.\n" +
"Gibberish-level must be between 2 and 20.\n" +
@ -322,10 +322,11 @@ namespace WetPancakeCLI
"Pass in \"true\" to copy the result straight to the clipboard.\n" +
"Pass in \"false\" or leave blank to not copy the result." ) ]
[ Usage ( "\n" + // Added because Console.Waterworks' rendering makes it look weird.
"> GenerateTextFromFile 3 6 C:/yourfile.txt true\n" +
"> GenerateTextFromFile 6 13 C:/yourfile.txt false \n" +
"> GenerateTextFromFile 12 8 C:/yourfile.txt" ) ]
public static string GenerateTextFromFile ( int gibberishLevel , int sentences , string filePath , bool copyToClipboard = false )
"> MakeTextFromFile 3 6 C:/yourfile.txt true\n" +
"> MakeTextFromFile 6 13 C:/yourfile.txt false \n" +
"> MakeTextFromFile 12 8 C:/yourfile.txt" ) ]
public static string MakeTextFromFile
( int gibberishLevel , int sentences , string filePath , bool copyToClipboard = false )
{
try
{