|
11 | 11 | </header> |
12 | 12 | <nav> |
13 | 13 | <ul> |
14 | | -<li><a href="/">Home</a></li> |
15 | | -<li><a href="../index.html">README</a></li> |
16 | | -<li><a href="../license.html">LICENSE</a></li> |
17 | | -<li><a href="../install.html">INSTALL</a></li> |
18 | | -<li><a href="./">Documentation</a></li> |
19 | | -<li><a href="https://github.com/caltechlibrary/cli">Github</a></li> |
| 14 | +<li> |
| 15 | +<a href="/">Home</a> |
| 16 | +</li> |
| 17 | +<li> |
| 18 | +<a href="../index.html">README</a> |
| 19 | +</li> |
| 20 | +<li> |
| 21 | +<a href="../license.html">LICENSE</a> |
| 22 | +</li> |
| 23 | +<li> |
| 24 | +<a href="../install.html">INSTALL</a> |
| 25 | +</li> |
| 26 | +<li> |
| 27 | +<a href="./">Documentation</a> |
| 28 | +</li> |
| 29 | +<li> |
| 30 | +<a href="https://github.com/caltechlibrary/cli">Github</a> |
| 31 | +</li> |
20 | 32 | </ul> |
21 | | - |
22 | 33 | </nav> |
23 | 34 |
|
24 | 35 | <section> |
25 | | -<h1>USAGE</h1> |
26 | | - |
27 | | -<pre><code>cligenerate [OPTIONS] |
28 | | -</code></pre> |
29 | | - |
30 | | -<h2>SYNOPSIS</h2> |
31 | | - |
32 | | -<p>The cli package and cli application generator |
33 | | -provides a standard way to construct a command line interfaces |
34 | | -encouraging uniformity across applications built at Caltech |
35 | | -Library. The <em>cligenerator</em> program is intended primarily to be |
36 | | -an example of how to use the <em>cli</em> package.</p> |
37 | | - |
38 | | -<h2>DESCRIPTION</h2> |
39 | | - |
40 | | -<p>This is a cli application generator. It also demonstrates |
41 | | -how to use the cli package.</p> |
42 | | - |
43 | | -<h2>OPTIONS</h2> |
44 | | - |
45 | | -<p>Below are a set of options available.</p> |
46 | | - |
| 36 | +<h1 id="usage"> |
| 37 | +USAGE |
| 38 | +</h1> |
| 39 | +<pre><code>cligenerate [OPTIONS]</code></pre> |
| 40 | +<h2 id="synopsis"> |
| 41 | +SYNOPSIS |
| 42 | +</h2> |
| 43 | +<p> |
| 44 | +The cli package and cli application generator provides a standard way to construct a command line interfaces encouraging uniformity across applications built at Caltech Library. The <em>cligenerator</em> program is intended primarily to be an example of how to use the <em>cli</em> package. |
| 45 | +</p> |
| 46 | +<h2 id="description"> |
| 47 | +DESCRIPTION |
| 48 | +</h2> |
| 49 | +<p> |
| 50 | +This is a cli application generator. It also demonstrates how to use the cli package. |
| 51 | +</p> |
| 52 | +<h2 id="options"> |
| 53 | +OPTIONS |
| 54 | +</h2> |
| 55 | +<p> |
| 56 | +Below are a set of options available. |
| 57 | +</p> |
47 | 58 | <pre><code> -app set the name of your generated app (e.g. helloworld) |
48 | 59 | -e, -examples display examples |
49 | 60 | -generate-manpage generate man page |
50 | 61 | -generate-markdown generate markdown documentation |
51 | 62 | -h, -help display help |
52 | 63 | -i, -input input file name |
53 | 64 | -l, -license display license |
54 | | - -name, -author set the author name (e.g. '@author Jane Doe, < [email protected]> ') |
| 65 | + -name, -author set the author name (e.g. '@author Jane Doe, < [email protected]> ') |
55 | 66 | -nl, -newline if true add a trailing newline |
56 | 67 | -o, -output output file name |
57 | 68 | -p, -pretty pretty print output |
58 | 69 | -quiet suppress error messages |
59 | | - -synopsis set a short application description (e.g. says 'Hello World!') |
| 70 | + -synopsis set a short application description (e.g. says 'Hello World!') |
60 | 71 | -use-bugs filename holding bugs |
61 | 72 | -use-description filename holding a detailed description of application. |
62 | 73 | -use-examples filename holding examples |
63 | 74 | -use-license filename holding the license |
64 | | - -v, -version display version |
65 | | -</code></pre> |
66 | | - |
67 | | -<h2>EXAMPLES</h2> |
68 | | - |
69 | | -<p>Example generating a new “helloworld”</p> |
70 | | - |
| 75 | + -v, -version display version</code></pre> |
| 76 | +<h2 id="examples"> |
| 77 | +EXAMPLES |
| 78 | +</h2> |
| 79 | +<p> |
| 80 | +Example generating a new “helloworld” |
| 81 | +</p> |
71 | 82 | <pre><code> cligenerate -app=helloworld \ |
72 | 83 | -name="@author Jane Doe, < [email protected]>" \ |
73 | 84 | -decription="This is a demo cli" \ |
74 | | - -use-license=LICENSE |
75 | | -</code></pre> |
76 | | - |
77 | | -<p>cligenerate v0.0.14</p> |
78 | | - |
| 85 | + -use-license=LICENSE</code></pre> |
| 86 | +<p> |
| 87 | +cligenerate v0.0.14 |
| 88 | +</p> |
79 | 89 | </section> |
80 | 90 |
|
81 | 91 | <footer> |
82 | 92 | <span><h1><A href="http://caltech.edu">Caltech</a></h1></span> |
83 | | -<span>© 2018 <a href="https://www.library.caltech.edu/copyright">Caltech library</a></span> |
| 93 | +<span>© 2021 <a href="https://www.library.caltech.edu/copyright">Caltech library</a></span> |
84 | 94 | <address>1200 E California Blvd, Mail Code 1-32, Pasadena, CA 91125-3200</address> |
85 | 95 | <span>Phone: <a href="tel:+1-626-395-3405">(626)395-3405</a></span> |
86 | 96 | <span><a href=" mailto:[email protected]" >Email Us </a></span> |
|
0 commit comments