Module org.refcodes.archetype
Package org.refcodes.archetype
-
Class Summary Class Description CliHelper TheCliHelper
provides means to support CLI command line argument parsing.E.g. using theCliHelper
you easily can create configuration files ("--init" or "--init path/to/your/config") from a template (found in "src/main/resources"), print a help text ("--help"), show system information ("--sysinfo") for support issues, regard being more verbose ("--verbose") or more quiet ("--quiet"), load a configuration from a specific location ("--config path/to/your/config"), all given that your command line syntax given uses the according predefinedArgsSyntax
elements such asHelpFlag
,VerboseFlag
,QuietFlag
,InitFlag
,SysInfoFlag
,DebugFlag
orConfigOption
(and the like).CliHelper.Builder Builder to buildCliHelper
.