|
|
|
@ -44,12 +44,34 @@
|
|
|
|
|
[<Usage "> libtest3 \"Craig Oates\"">] |
|
|
|
|
let libtest3 name = String.Format("Result: {0}", LibraryTest3 name) |
|
|
|
|
|
|
|
|
|
// this is fine AND SWEET! |
|
|
|
|
let ``test 4`` = "Hi there" |
|
|
|
|
[<ListCommand>] |
|
|
|
|
[<Description "Displays a message in the console, signfying the command-method is working.">] |
|
|
|
|
[<Parameters "none">] |
|
|
|
|
[<Usage "> test 1">] |
|
|
|
|
let ``test 1``() = "Result: Test 1 working" |
|
|
|
|
|
|
|
|
|
[<ListCommand>] |
|
|
|
|
[<Description "Displays a message in the console, signfying the command-method is working. The command uses F#'s double back-tick notation -- hence the command name and usage example not matching up.">] |
|
|
|
|
[<Parameters "none">] |
|
|
|
|
[<Usage "> test 2">] |
|
|
|
|
let ``test-2``() = "Result: Test 2 working" |
|
|
|
|
// This only works when you type "test 2" not ideal but better then nothing |
|
|
|
|
|
|
|
|
|
// this only works when you type "test 5" not ideal but better then nothing |
|
|
|
|
let ``test-5`` = "Hi there" |
|
|
|
|
[<ListCommand>] |
|
|
|
|
[<Description "Displays a message in the console, signfying the command-method is working.">] |
|
|
|
|
[<Parameters "none">] |
|
|
|
|
[<Usage "> test 3">] |
|
|
|
|
let """test 3""" = "Result: Test 3 working" |
|
|
|
|
(*This is not displayed in the help section, regardless of the attributes. |
|
|
|
|
It still works if you enter the command into the console, though.*) |
|
|
|
|
|
|
|
|
|
[<ListCommand>] |
|
|
|
|
[<Description "Displays a message in the console, signfying the command-method is working.">] |
|
|
|
|
[<Parameters "none">] |
|
|
|
|
[<Usage "> test 4">] |
|
|
|
|
let """test-4""" = "Result: Test 4 working" |
|
|
|
|
(* This only works when you type "test 4" not ideal but better then nothing. |
|
|
|
|
This is not displayed in the help section, regardless of the attributes. |
|
|
|
|
It still works if you enter the command in the console, though.*) |
|
|
|
|
|
|
|
|
|
// This also works... |
|
|
|
|
let """test 6""" = "Hi there" |
|
|
|
|
|
|
|
|
|