<main><divclass="width-limiter"><navclass="sub"><formclass="search-form"><span></span><divid="sidebar-button"tabindex="-1"><ahref="../../clap/all.html"title="show sidebar"></a></div><inputclass="search-input"name="search"aria-label="Run search in the documentation"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"><divid="help-button"tabindex="-1"><ahref="../../help.html"title="help">?</a></div><divid="settings-menu"tabindex="-1"><ahref="../../settings.html"title="settings"><imgwidth="22"height="22"alt="Change settings"src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><sectionid="main-content"class="content"><divclass="main-heading"><h1>Module <ahref="../index.html">clap</a>::<wbr><aclass="mod"href="#">builder</a><buttonid="copy-path"title="Copy item path to clipboard"><imgsrc="../../static.files/clipboard-7571035ce49a181d.svg"width="19"height="18"alt="Copy item path"></button></h1><spanclass="out-of-band"><aclass="src"href="../../src/clap_builder/lib.rs.html#57">source</a> · <buttonid="toggle-all-docs"title="collapse all docs">[<span>−</span>]</button></span></div><detailsclass="toggle top-doc"open><summaryclass="hideme"><span>Expand description</span></summary><divclass="docblock"><p>Define <ahref="../struct.Command.html"title="struct clap::Command"><code>Command</code></a> line <ahref="../struct.Arg.html"title="struct clap::Arg">arguments</a></p>
</div></details><h2id="modules"class="section-header">Modules<ahref="#modules"class="anchor">§</a></h2><ulclass="item-table"><li><divclass="item-name"><aclass="mod"href="styling/index.html"title="mod clap::builder::styling">styling</a></div><divclass="desc docblock-short">Terminal <ahref="struct.Styles.html"title="struct clap::builder::Styles"><code>Styles</code></a> for help and error output</div></li></ul><h2id="structs"class="section-header">Structs<ahref="#structs"class="anchor">§</a></h2><ulclass="item-table"><li><divclass="item-name"><aclass="struct"href="struct.Arg.html"title="struct clap::builder::Arg">Arg</a></div><divclass="desc docblock-short">The abstract representation of a command line argument. Used to set all the options and
relationships that define a valid argument for the program.</div></li><li><divclass="item-name"><aclass="struct"href="struct.ArgGroup.html"title="struct clap::builder::ArgGroup">ArgGroup</a></div><divclass="desc docblock-short">Family of related <ahref="../struct.Arg.html"title="struct clap::Arg">arguments</a>.</div></li><li><divclass="item-name"><aclass="struct"href="struct.BoolValueParser.html"title="struct clap::builder::BoolValueParser">BoolValueParser</a></div><divclass="desc docblock-short">Implementation for <ahref="struct.ValueParser.html#method.bool"title="associated function clap::builder::ValueParser::bool"><code>ValueParser::bool</code></a></div></li><li><divclass="item-name"><aclass="struct"href="struct.BoolishValueParser.html"title="struct clap::builder::BoolishValueParser">BoolishValueParser</a></div><divclass="desc docblock-short">Parse bool-like string values, everything else is <code>true</code></div></li><li><divclass="item-name"><aclass="struct"href="struct.Command.html"title="struct clap::builder::Command">Command</a></div><divclass="desc docblock-short">Build a command-line interface.</div></li><li><divclass="item-name"><aclass="struct"href="struct.EnumValueParser.html"title="struct clap::builder::EnumValueParser">EnumValueParser</a></div><divclass="desc docblock-short">Parse an <ahref="../trait.ValueEnum.html"title="trait clap::ValueEnum"><code>ValueEnum</code></a> value.</div></li><li><divclass="item-name"><aclass="struct"href="struct.FalseyValueParser.html"title="struct clap::builder::FalseyValueParser">FalseyValueParser</a></div><divclass="desc docblock-short">Parse false-like string values, everything else is <code>true</code></div></li><li><divclass="item-name"><aclass="struct"href="struct.MapValueParser.html"title="struct clap::builder::MapValueParser">MapValueParser</a></div><divclass="desc docblock-short">Adapt a <code>TypedValueParser</code> from one value to another</div></li><li><divclass="item-name"><aclass="struct"href="struct.NonEmptyStringValueParser.html"title="struct clap::builder::NonEmptyStringValueParser">NonEmptyStringValueParser</a></div><divclass="desc docblock-short">Parse non-empty string values</div></li><li><divclass="item-name"><aclass="struct"href="struct.OsStr.html"title="struct clap::builder::OsStr">OsStr</a></div><divclass="desc docblock-short">A UTF-8-encoded fixed string</div></li><li><divclass="item-name"><aclass="struct"href="struct.OsStringValueParser.html"title="struct clap::builder::OsStringValueParser">OsStringValueParser</a></div><divclass="desc docblock-short">Implementation for <ahref="struct.ValueParser.html#method.os_string"title="associated function clap::builder::ValueParser::os_string"><code>ValueParser::os_string</code></a></div></li><li><divclass="item-name"><aclass="struct"href="struct.PathBufValueParser.html"title="struct clap::builder::PathBufValueParser">PathBufValueParser</a></div><divclass="desc docblock-short">Implementation for <ahref="struct.ValueParser.html#method.path_buf"title="associated function clap::builder::ValueParser::path_buf"><code>ValueParser::path_buf</code></a></div></li><li><divclass="item-name"><aclass="struct"href="struct.PossibleValue.html"title="struct clap::builder::PossibleValue">PossibleValue</a></div><divclass="desc docblock-short">A possible value of an argument.</div></li><li><divclass="item-name"><aclass="struct"href="struct.PossibleValuesParser.html"title="struct clap::builder::PossibleValuesParser">PossibleValuesParser</a></div><divclass="desc docblock-short">Verify the value is from an enumerated set of <ahref="struct.PossibleValue.html"title="struct clap::builder::PossibleValue"><code>PossibleValue</code></a>.</div></li><li><divclass="item-name"><aclass="struct"href="struct.RangedI64ValueParser.html"title="struct clap::builder::RangedI64ValueParser">RangedI64ValueParser</a></div><divclass="desc docblock-short">Parse number that fall within a range of values</div></li><li><divclass="item-name"><aclass="struct"href="struct.Rang