<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title> Top Level Namespace — Documentation by YARD 0.9.28 </title> <link rel="stylesheet" href="css/style.css" type="text/css" /> <link rel="stylesheet" href="css/common.css" type="text/css" /> <script type="text/javascript"> pathId = ""; relpath = ''; </script> <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script> <script type="text/javascript" charset="utf-8" src="js/app.js"></script> </head> <body> <div class="nav_wrap"> <iframe id="nav" src="class_list.html?1"></iframe> <div id="resizer"></div> </div> <div id="main" tabindex="-1"> <div id="header"> <div id="menu"> <a href="_index.html">Index</a> » <span class="title">Top Level Namespace</span> </div> <div id="search"> <a class="full_list_link" id="class_list_link" href="class_list.html"> <svg width="24" height="24"> <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect> <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect> <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect> </svg> </a> </div> <div class="clear"></div> </div> <div id="content"><h1>Top Level Namespace </h1> <div class="box_info"> </div> <h2>Defined Under Namespace</h2> <p class="children"> <strong class="modules">Modules:</strong> <span class='object_link'><a href="BooleanTermParser.html" title="BooleanTermParser (module)">BooleanTermParser</a></span>, <span class='object_link'><a href="Doing.html" title="Doing (module)">Doing</a></span>, <span class='object_link'><a href="GLI.html" title="GLI (module)">GLI</a></span>, <span class='object_link'><a href="PhraseParser.html" title="PhraseParser (module)">PhraseParser</a></span>, <span class='object_link'><a href="Status.html" title="Status (module)">Status</a></span> <strong class="classes">Classes:</strong> <span class='object_link'><a href="Array.html" title="Array (class)">Array</a></span>, <span class='object_link'><a href="FalseClass.html" title="FalseClass (class)">FalseClass</a></span>, <span class='object_link'><a href="Hash.html" title="Hash (class)">Hash</a></span>, <span class='object_link'><a href="Numeric.html" title="Numeric (class)">Numeric</a></span>, <span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span>, <span class='object_link'><a href="String.html" title="String (class)">String</a></span>, <span class='object_link'><a href="Symbol.html" title="Symbol (class)">Symbol</a></span>, <span class='object_link'><a href="Time.html" title="Time (class)">Time</a></span>, <span class='object_link'><a href="TrueClass.html" title="TrueClass (class)">TrueClass</a></span> </p> <h2> Instance Method Summary <small><a href="#" class="summary_toggle">collapse</a></small> </h2> <ul class="summary"> <li class="public "> <span class="summary_signature"> <a href="top-level-namespace.html#add_options-instance_method" title="#add_options (instance method)">#<strong>add_options</strong>(type, cmd, default_template: 'default') ⇒ Object </a> </span> <span class="summary_desc"><div class='inline'><p>Add presets of flags and switches to a command.</p> </div></span> </li> </ul> <div id="instance_method_details" class="method_details_list"> <h2>Instance Method Details</h2> <div class="method_details first"> <h3 class="signature first" id="add_options-instance_method"> #<strong>add_options</strong>(type, cmd, default_template: 'default') ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt> </h3><div class="docstring"> <div class="discussion"> <p>Add presets of flags and switches to a command.</p> <p>:output_template => --output, --config_template, --template</p> <p>:add_entry => --noauto, --note, --ask, --editor, --back</p> <p>:finish_entry => --at/finished, --from, --took</p> <p>:time_display => --times, --duration, --totals, --tag_sort, --tag_order, --only_timed</p> <p>:search => --search, --case, --exact</p> <p>:tag_filter => --tag, --bool, --not, --val</p> <p>:time_filter => --before, --after, --from</p> <p>:date_filter => --before, --after, --from</p> <p>:save => --save</p> </div> </div> <div class="tags"> <p class="tag_title">Parameters:</p> <ul class="param"> <li> <span class='name'>type</span> <span class='type'>(<tt><span class='object_link'><a href="Symbol.html" title="Symbol (class)">Symbol</a></span></tt>)</span> — <div class='inline'><p>The type</p> </div> </li> <li> <span class='name'>cmd</span> <span class='type'></span> — <div class='inline'><p>The GLI command to which the options will be added</p> </div> </li> </ul> </div> </div> </div> </div> <div id="footer"> Generated on Mon Aug 8 12:02:32 2022 by <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a> 0.9.28 (ruby-3.0.1). </div> </div> </body> </html>