Clad User Manual: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 2: | Line 2: | ||
* [[clad#User_Manual|clad]] | * [[clad#User_Manual|clad]] | ||
=Overview= | |||
The framework scans the command line looking for the first argument that can be mapped to a command. Mapping to a command means scanning the classpath and looking for Command interface implementations whose simple class name match the following pattern: <commandName>Command. | |||
Everything between the wrapper name and the command name is interpreted as global option. | |||
Everything beyond the command name is interpreted as command’s option. |
Revision as of 04:06, 2 March 2016
Internal
Overview
The framework scans the command line looking for the first argument that can be mapped to a command. Mapping to a command means scanning the classpath and looking for Command interface implementations whose simple class name match the following pattern: <commandName>Command.
Everything between the wrapper name and the command name is interpreted as global option.
Everything beyond the command name is interpreted as command’s option.