-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Rickard Nilsson edited this page Mar 23, 2017
·
9 revisions
-
Using conventions to match argument classes to command classes
-
Template Engines
- Mustache
- Razor as optional plugin
-
Dependency injection
-
Ignore case eg.
grep --version
vsgrep --Version
-
Boolean options of the form:
-flag
,--flag
, and/flag
. -
Boolean parameters can have a
+
or-
appended to explicitly enable or disable the flag (in the same fashion asmcs -debug+
). -
For boolean options, the provided value is true for enabled, and false for disabled.
-
Value options with a required value (append
=
to the option name) or an optional value (append:
to the option name). The option value can either be in the current option--opt=value
or in the following parameter--opt value
.- The actual value is provided as the parameter to the command, unless it's (1) optional and (2) missing, in which case null is passed.