Added new macro features. resolve_value + default: key. Added raises to prevent CliGen features from being used outside of a already parsed state, and worked on specs. Will be working on specs later on as well to finish covering regex & redo timeparse & relative_operations
This commit is contained in:
+22
-7
@@ -117,6 +117,11 @@
|
||||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="CliGenerator/CliGen/Common" data-name="cligen::common">
|
||||
<a href="../CliGen/Common.html">Common</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="CliGenerator/CliGen/ConfigurationError" data-name="cligen::configurationerror">
|
||||
<a href="../CliGen/ConfigurationError.html">ConfigurationError</a>
|
||||
|
||||
@@ -182,6 +187,11 @@
|
||||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="CliGenerator/CliGen/InternalVar" data-name="cligen::internalvar">
|
||||
<a href="../CliGen/InternalVar.html">InternalVar</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="CliGenerator/CliGen/InvalidFlagValueError" data-name="cligen::invalidflagvalueerror">
|
||||
<a href="../CliGen/InvalidFlagValueError.html">InvalidFlagValueError</a>
|
||||
|
||||
@@ -252,11 +262,6 @@
|
||||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="CliGenerator/CliGen/Selection" data-name="cligen::selection">
|
||||
<a href="../CliGen/Selection.html">Selection</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="CliGenerator/CliGen/SubCommand" data-name="cligen::subcommand">
|
||||
<a href="../CliGen/SubCommand.html">SubCommand</a>
|
||||
|
||||
@@ -390,8 +395,13 @@
|
||||
</dt>
|
||||
|
||||
|
||||
<dt class="entry-const" id="FLAG_LONG">
|
||||
<strong>FLAG_LONG</strong> = <code><span class="s">/^--[a-zA-Z0-9][a-zA-Z0-9-_]+$/</span></code>
|
||||
</dt>
|
||||
|
||||
|
||||
<dt class="entry-const" id="FLAG_MULTIPLE_SHORT">
|
||||
<strong>FLAG_MULTIPLE_SHORT</strong> = <code><span class="s">/^-[a-zA-Z0-9]+$/</span></code>
|
||||
<strong>FLAG_MULTIPLE_SHORT</strong> = <code><span class="s">/^-[a-zA-Z][a-zA-Z]+$/</span></code>
|
||||
</dt>
|
||||
|
||||
|
||||
@@ -400,8 +410,13 @@
|
||||
</dt>
|
||||
|
||||
|
||||
<dt class="entry-const" id="FLAG_SHORT">
|
||||
<strong>FLAG_SHORT</strong> = <code><span class="s">/^-[a-zA-Z]$/</span></code>
|
||||
</dt>
|
||||
|
||||
|
||||
<dt class="entry-const" id="FLAG_WITH_ARG">
|
||||
<strong>FLAG_WITH_ARG</strong> = <code><span class="s">/^(?<flag>(-[a-zA-Z]|--[a-zA-Z-_]+))="?(?<arg>\S+?)"?$/</span></code>
|
||||
<strong>FLAG_WITH_ARG</strong> = <code><span class="s">/^(?<flag>(-[a-zA-Z]|--[a-zA-Z0-9][a-zA-Z0-9-_]+))="?(?<arg>.+?)"?$/</span></code>
|
||||
</dt>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user