|
|
|
@ -44,6 +44,9 @@ namespace WetPancakeCLI
|
|
|
|
|
"QuickGuide")] |
|
|
|
|
public static string QuickGuide(string filePath = "") |
|
|
|
|
{ |
|
|
|
|
// TODO Create cheat-sheet comand-method. |
|
|
|
|
// TODO Rename cheat-sheet-pdf to quick-guide. |
|
|
|
|
// TODO Add new cheat-sheet |
|
|
|
|
WriteLine("Attempting to write the Wet Pancake CLI Quick Guide..."); |
|
|
|
|
try |
|
|
|
|
{ |
|
|
|
@ -59,7 +62,8 @@ namespace WetPancakeCLI
|
|
|
|
|
} |
|
|
|
|
else |
|
|
|
|
{ |
|
|
|
|
// TODO; Finish Quick Guide command-method. |
|
|
|
|
var customSavePath = $"{filePath}\\wet-pankcake-cheatsheet.pdf"; |
|
|
|
|
File.Copy(cheatsheetPath, customSavePath, true); |
|
|
|
|
if (!Directory.Exists(filePath)) throw new DirectoryNotFoundException(); |
|
|
|
|
return $"Quick Guide added to {filePath}"; |
|
|
|
|
} |
|
|
|
|