Browse Source

Fix spelling in ValidateFile's attibutes (command-method).

master
Craig Oates 6 years ago
parent
commit
d9ffecec95
  1. 8
      WetPancakeCLI/ConsoleCommands.cs

8
WetPancakeCLI/ConsoleCommands.cs

@ -73,7 +73,9 @@ namespace WetPancakeCLI
try
{
WriteLine("Attempting to list out the available template files...");
var files = FSharpAsync.StartAsTask(RequestAllTemplateFilesAsync(), _taskCreationOptions, _cancellationToken).Result;
var files =
FSharpAsync.StartAsTask
(RequestAllTemplateFilesAsync(), _taskCreationOptions, _cancellationToken).Result;
foreach (var item in files)
{
WriteLine($"File path: {item}");
@ -88,7 +90,9 @@ namespace WetPancakeCLI
}
[ListCommand]
[Description("Checks the text in the specified .txt file to see if it ")]
[Description(
"Checks the text in the specified .txt file to see if it is compatible with this program.\n" +
"For a file to be compatible, it must be a .txt file and contain at least one '.', '!' or '?'.")]
[Parameters("filePath: string")]
[Usage("> ValidateFile \"C:/your-file.txt\"")]
public static string ValidateFile(string filePath)

Loading…
Cancel
Save