Skip to content
Mark Good edited this page Sep 28, 2017 · 11 revisions

Roadmap

Supported Syntax [-|--|/][name|letter][toggle][=|:| ][value]

Argument Types
Option: -o, --option
Toggle: -o-
Combined: -xyz
Switch: /s, /S
Value: "string value", 123, true|false

Assignment Characters
Whitespace
=
:

Toggle Characters
-
+

Switch (boolean)
/s (true)
/S (false?)

Option with Value
-o=value
-o:value
-o value
--option=value
--option:value
--option value

Values
"string value"
123
12.3
1,230
1,230
true|false
command

Examples
example.exe -s // enable option s
example.exe -s- // disable option s
example.exe -s+ // enable option s
example.exe -xyz // enable option x, y and z
example.exe -xyz- // disable option x, y and z
example.exe -xyz+ // enable option x, y and z

Boolean Option(s)
-a (true)
-a- (false)
-ab (eq. to -a -b)
-ab+ (eq. to -ab)
-ab- (eq. to -a- -b-)

Enum Options
--system
--global
--local

Clone this wiki locally