10# if !defined (HPP_ALIB_CLI_CLI)
14# if !defined(HPP_ALIB_ENUMS_SERIALIZATION)
17# if !defined (HPP_ALIB_ENUMS_RECORDBOOTSTRAP)
20# if !defined (HPP_ALIB_LANG_BASECAMP)
45 "Instances of class Cli must not be created. Use singleton alib::CLI" )
57#if !ALIB_RESOURCES_OMIT_DEFAULTS
64 "E0",
A_CHAR(
"1,NoCommandGiven" ",ED1" ),
65 "E1",
A_CHAR(
"2,UnknownCommand" ",ED2" ),
68 "E2",
A_CHAR(
"10,ParsingOptions" ",ED10" ),
69 "E3",
A_CHAR(
"11,MissingOptionValue" ",ED11" ),
70 "E4",
A_CHAR(
"12,IllegalOptionNameContinuation" ",ED12" ),
73 "E5",
A_CHAR(
"20,ParsingCommand" ",ED20" ),
74 "E6",
A_CHAR(
"21,MissingParameterValue" ",ED21" ) EOS
77 "ED1",
A_CHAR(
"No command given." ),
78 "ED2",
A_CHAR(
"Unknown command found with CLI argument{!Q[]}={!Q}" ),
79 "ED10",
A_CHAR(
"Error parsing option. Usage:\n"
81 "ED20",
A_CHAR(
"Error parsing command.\n"
87 "ED11",
A_CHAR(
"Missing argument(s) of option {!Q<>} found with CLI argument{!Q[]}={!Q}.\n"
88 "Expected {}, given {}." ),
90 "ED12",
A_CHAR(
"Option identifier {!Q<>} found at start of CLI argument{!Q[]}={!Q},\n"
91 "while CLI argument string continues with non-argument identifier characters." ),
93 "ED21",
A_CHAR(
"Missing argument(s) of parameter {!Q<>} found with CLI argument{!Q[]}={!Q}.\n"
94 "Quantity expected {}, quantity given {}." ) EOS
98 "DRM<",
A_CHAR(
"DryRunModes::" ),
99DOX_MARKER([DOX_ALIB_CLI_DRYRUN_RESOURCES])
100"DRM" ,
A_CHAR(
"0" "," "Off" "," "1" ","
101 "2" "," "CLIDeclarations" "," "4" ","
102 "1" "," "CLIArgs" "," "1" ","
103 "3" "," "Application" "," "1" ),
104DOX_MARKER([DOX_ALIB_CLI_DRYRUN_RESOURCES])
virtual void bootstrap(BootstrapPhases phase) override
NCString ResourceCategory
lang::resources::ResourcePool * resourcePool
virtual void BootstrapBulk(const nchar *category,...)=0
#define ALIB_BOXING_VTABLE_DEFINE(TMapped, Identifier)
#define ALIB_BOXING_BOOTSTRAP_REGISTER_FAPPEND_FOR_APPENDABLE_TYPE(TAppendable)
#define ALIB_BOXING_BOOTSTRAP_VTABLE_DBG_REGISTER(Identifier)
#define ALIB_ASSERT_ERROR(cond,...)
@ PrepareConfig
Initializes up to the creation of a field config .
static void Bootstrap(TEnum element, TArgs &&... args) noexcept