Clad User Manual - Concepts: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 4: Line 4:


=Default Command=
=Default Command=
An application may not have a default command. In this case, the <tt>ApplicationRuntime</tt> implementation of <tt>public String getDefaultCommand()</tt> must return null.


=Options=
=Options=

Revision as of 16:30, 8 November 2016

Internal

Default Command

An application may not have a default command. In this case, the ApplicationRuntime implementation of public String getDefaultCommand() must return null.

Options

The options (global or specific to a certain command) use the GNU command line option syntax:

 -o <value> | --option=<value>

Global Options

The global options apply to the application runtime, and they are not specific to a certain command.

Universal Global Options

-v|--verbose

-v or --verbose turns on DEBUG on the underlying CONSOLE appender.

--debug

TODO: do I need support for -d?

Command Options