diff --git a/SmoulderingBeachBallCLI/ConsoleCommands.fs b/SmoulderingBeachBallCLI/ConsoleCommands.fs index cda04d5..9847423 100644 --- a/SmoulderingBeachBallCLI/ConsoleCommands.fs +++ b/SmoulderingBeachBallCLI/ConsoleCommands.fs @@ -7,6 +7,7 @@ open Console.Waterworks.Attributes open SmoulderingBeachBall.Services open Validation + open System.IO let showEndOfCommandMessage = "[INFO.] Execution completed." @@ -19,10 +20,21 @@ [] [] - [] + [] [] let help () = CW_Liaison().RequestHelpDocumentation("Commands") + let cheat () = + try + printfn "[INFO] Attempting to save cheat sheet to the desktop..." + let cheatSheetPath = __SOURCE_DIRECTORY__ + "/cheat-sheet.pdf" + let savePath = getDesktopPath + "/smouldering-beach-ball-cheat-sheet.pdf" + File.Copy (cheatSheetPath, savePath, true) + showEndOfCommandMessage + with + | :? FileNotFoundException as ex -> ex.Message + | _ as ex -> ex.Message + [] [] [] @@ -47,12 +59,12 @@ [] [] [] [ + diff --git a/SmoulderingBeachBallCLI/cheat-sheet.pdf b/SmoulderingBeachBallCLI/cheat-sheet.pdf new file mode 100644 index 0000000..c059c1b Binary files /dev/null and b/SmoulderingBeachBallCLI/cheat-sheet.pdf differ