From f190e9981707b2c95bf6fc62a2129bc237bd7d48 Mon Sep 17 00:00:00 2001 From: "OPTIMUS-PRIME\\craig" Date: Mon, 3 Sep 2018 18:52:51 +0100 Subject: [PATCH] add help attributes to the comand-methods. --- SmoulderingBeachBallCLI/ConsoleCommands.fs | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/SmoulderingBeachBallCLI/ConsoleCommands.fs b/SmoulderingBeachBallCLI/ConsoleCommands.fs index a7bb5a8..48ecb33 100644 --- a/SmoulderingBeachBallCLI/ConsoleCommands.fs +++ b/SmoulderingBeachBallCLI/ConsoleCommands.fs @@ -3,15 +3,38 @@ module ConsoleCommands = open System + open Console.Waterworks + open Console.Waterworks.Attributes open SmoulderingBeachBall.Services open Validation let showEndOfCommandMessage = "[INFO.] Execution completed." + [] + [] + [] + [] let test () = "[SUCCESS] Smouldering Beach Ball CLI seems to be working." + [] + [] + [] + [] + let help () = CW_Liaison().RequestHelpDocumentation("Commands") + + [] + [] + [] + [] let exit () = Environment.Exit (Environment.ExitCode) + [] + [] + [] + [] let ``draw-default`` imgWidth imgHeight = try buildDefaultSpec imgWidth imgHeight @@ -22,6 +45,20 @@ | :? ArgumentException as ex -> ex.Message | _ as ex -> ex.Message + [] + [] + [] + [] let ``draw-image`` imgWidth imgHeight mainColour oColour oType path = try buildSpec imgWidth imgHeight mainColour oColour oType path