|
|
|
@ -26,11 +26,21 @@
|
|
|
|
|
let liaison = CW_Liaison() |
|
|
|
|
liaison.RequestHelpDocumentation("Commands") |
|
|
|
|
|
|
|
|
|
[<ListCommand>] |
|
|
|
|
[<Description "Adds the two numbers together.">] |
|
|
|
|
[<Parameters "x:int y:int">] |
|
|
|
|
[<Usage "> libtest1 5 10">] |
|
|
|
|
let libtest1 x y = String.Format("Result: {0}" , LibraryTest1 x y) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[<ListCommand>] |
|
|
|
|
[<Description "Multiplies x and y together then mulitplies that by z or... (x * y) * z">] |
|
|
|
|
[<Parameters "x:int y:int z:int">] |
|
|
|
|
[<Usage "> libtest2 5 10 2">] |
|
|
|
|
let libtest2 x y z = String.Format("Result: {0}", (LibraryTest2 x y z)) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[<ListCommand>] |
|
|
|
|
[<Description "Appends the named passed into the console onto \"Hello\" and displays it in the console.">] |
|
|
|
|
[<Parameters "name: string">] |
|
|
|
|
[<Usage "> libtest3 \"Craig Oates\"">] |
|
|
|
|
let libtest3 name = String.Format("Result: {0}", LibraryTest3 name) |
|
|
|
|
|
|
|
|
|