Skip to content
Rickard Nilsson edited this page Mar 23, 2017 · 9 revisions

Welcome to the Consolas wiki!

Features

  • Using conventions to match argument classes to command classes

  • Template Engines

  • Dependency injection

  • Ignore case eg. grep --version vs grep --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 as mcs -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.
Clone this wiki locally