cli 1.2.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +5 -7
- data/Gemfile.lock +29 -37
- data/README.md +43 -44
- data/Rakefile +1 -28
- data/cli.gemspec +14 -84
- data/examples/httpclient +6 -6
- data/examples/ls +4 -4
- data/examples/processor +5 -5
- data/examples/sinatra +9 -9
- data/lib/cli/dsl.rb +3 -3
- data/rdoc/CLI/Arguments.html +178 -0
- data/rdoc/CLI/DSL/Argument.html +200 -0
- data/rdoc/CLI/DSL/Arguments.html +172 -0
- data/rdoc/CLI/DSL/Base.html +154 -0
- data/rdoc/CLI/DSL/Cast.html +152 -0
- data/rdoc/CLI/DSL/Description.html +150 -0
- data/rdoc/CLI/DSL/Input.html +143 -0
- data/rdoc/CLI/DSL/MultiDefault.html +151 -0
- data/rdoc/CLI/DSL/Option.html +143 -0
- data/rdoc/CLI/DSL/Options.html +142 -0
- data/rdoc/CLI/DSL/Switch.html +267 -0
- data/rdoc/CLI/DSL/Value.html +238 -0
- data/rdoc/CLI/DSL.html +91 -0
- data/rdoc/CLI/Options.html +200 -0
- data/rdoc/CLI/ParserError/ArgumentNameSpecifiedTwice.html +138 -0
- data/rdoc/CLI/ParserError/LongNameSpecifiedTwiceError.html +138 -0
- data/rdoc/CLI/ParserError/MultipleArgumentsSpecifierError.html +138 -0
- data/rdoc/CLI/ParserError/NameArgumetNotSymbolError.html +138 -0
- data/rdoc/CLI/ParserError/OptionsArgumentNotHashError.html +138 -0
- data/rdoc/CLI/ParserError/ShortNameIsInvalidError.html +138 -0
- data/rdoc/CLI/ParserError/ShortNameNotSymbolError.html +138 -0
- data/rdoc/CLI/ParserError/ShortNameSpecifiedTwiceError.html +138 -0
- data/rdoc/CLI/ParserError.html +97 -0
- data/rdoc/CLI/ParsingError/CastError.html +138 -0
- data/rdoc/CLI/ParsingError/MandatoryArgumentNotSpecifiedError.html +138 -0
- data/rdoc/CLI/ParsingError/MandatoryOptionsNotSpecifiedError.html +138 -0
- data/rdoc/CLI/ParsingError/MissingOptionValueError.html +138 -0
- data/rdoc/CLI/ParsingError/UnknownSwitchError.html +138 -0
- data/rdoc/CLI/ParsingError/UsageError.html +97 -0
- data/rdoc/CLI/ParsingError.html +97 -0
- data/rdoc/CLI/Switches.html +306 -0
- data/rdoc/CLI/Values.html +202 -0
- data/rdoc/CLI.html +652 -0
- data/rdoc/README_md.html +553 -0
- data/rdoc/created.rid +7 -0
- data/rdoc/css/fonts.css +167 -0
- data/rdoc/css/rdoc.css +639 -0
- data/rdoc/fonts/Lato-Light.ttf +0 -0
- data/rdoc/fonts/Lato-LightItalic.ttf +0 -0
- data/rdoc/fonts/Lato-Regular.ttf +0 -0
- data/rdoc/fonts/Lato-RegularItalic.ttf +0 -0
- data/rdoc/fonts/SourceCodePro-Bold.ttf +0 -0
- data/rdoc/fonts/SourceCodePro-Regular.ttf +0 -0
- data/rdoc/images/add.png +0 -0
- data/rdoc/images/arrow_up.png +0 -0
- data/rdoc/images/brick.png +0 -0
- data/rdoc/images/brick_link.png +0 -0
- data/rdoc/images/bug.png +0 -0
- data/rdoc/images/bullet_black.png +0 -0
- data/rdoc/images/bullet_toggle_minus.png +0 -0
- data/rdoc/images/bullet_toggle_plus.png +0 -0
- data/rdoc/images/date.png +0 -0
- data/rdoc/images/delete.png +0 -0
- data/rdoc/images/find.png +0 -0
- data/rdoc/images/loadingAnimation.gif +0 -0
- data/rdoc/images/macFFBgHack.png +0 -0
- data/rdoc/images/package.png +0 -0
- data/rdoc/images/page_green.png +0 -0
- data/rdoc/images/page_white_text.png +0 -0
- data/rdoc/images/page_white_width.png +0 -0
- data/rdoc/images/plugin.png +0 -0
- data/rdoc/images/ruby.png +0 -0
- data/rdoc/images/tag_blue.png +0 -0
- data/rdoc/images/tag_green.png +0 -0
- data/rdoc/images/transparent.png +0 -0
- data/rdoc/images/wrench.png +0 -0
- data/rdoc/images/wrench_orange.png +0 -0
- data/rdoc/images/zoom.png +0 -0
- data/rdoc/index.html +120 -0
- data/rdoc/js/darkfish.js +84 -0
- data/rdoc/js/navigation.js +105 -0
- data/rdoc/js/navigation.js.gz +0 -0
- data/rdoc/js/search.js +110 -0
- data/rdoc/js/search_index.js +1 -0
- data/rdoc/js/search_index.js.gz +0 -0
- data/rdoc/js/searcher.js +229 -0
- data/rdoc/js/searcher.js.gz +0 -0
- data/rdoc/table_of_contents.html +533 -0
- data/spec/argument_spec.rb +122 -99
- data/spec/cli_spec.rb +27 -28
- data/spec/conflict_reporting_spec.rb +16 -17
- data/spec/option_spec.rb +79 -56
- data/spec/separator_spec.rb +19 -20
- data/spec/stdin_spec.rb +13 -14
- data/spec/switch_spec.rb +15 -16
- data/spec/usage_spec.rb +80 -81
- metadata +91 -104
- data/.document +0 -5
- data/.rspec +0 -1
- data/VERSION +0 -1
- data/features/cli.feature +0 -9
- data/features/step_definitions/cli_steps.rb +0 -0
- data/features/support/env.rb +0 -13
@@ -0,0 +1,533 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
|
7
|
+
<title>Table of Contents - cli 1.3.1</title>
|
8
|
+
|
9
|
+
<script type="text/javascript">
|
10
|
+
var rdoc_rel_prefix = "./";
|
11
|
+
var index_rel_prefix = "./";
|
12
|
+
</script>
|
13
|
+
|
14
|
+
<script src="./js/navigation.js" defer></script>
|
15
|
+
<script src="./js/search.js" defer></script>
|
16
|
+
<script src="./js/search_index.js" defer></script>
|
17
|
+
<script src="./js/searcher.js" defer></script>
|
18
|
+
<script src="./js/darkfish.js" defer></script>
|
19
|
+
|
20
|
+
<link href="./css/fonts.css" rel="stylesheet">
|
21
|
+
<link href="./css/rdoc.css" rel="stylesheet">
|
22
|
+
|
23
|
+
|
24
|
+
<body id="top" class="table-of-contents">
|
25
|
+
<main role="main">
|
26
|
+
<h1 class="class">Table of Contents - cli 1.3.1</h1>
|
27
|
+
|
28
|
+
<h2 id="pages">Pages</h2>
|
29
|
+
<ul>
|
30
|
+
<li class="file">
|
31
|
+
<a href="README_md.html">README</a>
|
32
|
+
|
33
|
+
<ul>
|
34
|
+
<li><a href="README_md.html#label-CLI">CLI</a>
|
35
|
+
<li><a href="README_md.html#label-Installing">Installing</a>
|
36
|
+
<li><a href="README_md.html#label-Examples">Examples</a>
|
37
|
+
<li><a href="README_md.html#label-HTTPClient+example">HTTPClient example</a>
|
38
|
+
<li><a href="README_md.html#label-Sinatra+server+example">Sinatra server example</a>
|
39
|
+
<li><a href="README_md.html#label-Statistic+data+processor+example">Statistic data processor example</a>
|
40
|
+
<li><a href="README_md.html#label-Ls+like+utility">Ls like utility</a>
|
41
|
+
<li><a href="README_md.html#label-Usage">Usage</a>
|
42
|
+
<li><a href="README_md.html#label-23parse+method"><code>#parse</code> method</a>
|
43
|
+
<li><a href="README_md.html#label-23parse-21+method"><code>#parse!</code> method</a>
|
44
|
+
<li><a href="README_md.html#label-Parser+behavior+specifiers">Parser behavior specifiers</a>
|
45
|
+
<li><a href="README_md.html#label-description+-27string-27">description ‘string’</a>
|
46
|
+
<li><a href="README_md.html#label-version+-27string-27">version ‘string’</a>
|
47
|
+
<li><a href="README_md.html#label-switch+-3Aname+-5B-2C+options+hash-5D">switch :name [, options hash]</a>
|
48
|
+
<li><a href="README_md.html#label-option+-3Aname+-5B-2C+options+hash-5D">option :name [, options hash]</a>
|
49
|
+
<li><a href="README_md.html#label-options+-3Aname+-5B-2C+options+hash-5D">options :name [, options hash]</a>
|
50
|
+
<li><a href="README_md.html#label-argument+-3Aname+-5B-2Coptions+hash-5D">argument :name [,options hash]</a>
|
51
|
+
<li><a href="README_md.html#label-arguments+-3Aname+-5B-2Coptions+hash-5D">arguments :name [,options hash]</a>
|
52
|
+
<li><a href="README_md.html#label-stdin+-3Aname-2C+-5Boptions+hash-5D">stdin :name, [options hash]</a>
|
53
|
+
<li><a href="README_md.html#label-Contributing+to+CLI">Contributing to CLI</a>
|
54
|
+
<li><a href="README_md.html#label-Copyright">Copyright</a>
|
55
|
+
</ul>
|
56
|
+
</li>
|
57
|
+
</ul>
|
58
|
+
|
59
|
+
<h2 id="classes">Classes and Modules</h2>
|
60
|
+
<ul>
|
61
|
+
<li class="class">
|
62
|
+
<a href="CLI.html">CLI</a>
|
63
|
+
</li>
|
64
|
+
<li class="class">
|
65
|
+
<a href="CLI/Arguments.html">CLI::Arguments</a>
|
66
|
+
</li>
|
67
|
+
<li class="module">
|
68
|
+
<a href="CLI/DSL.html">CLI::DSL</a>
|
69
|
+
</li>
|
70
|
+
<li class="class">
|
71
|
+
<a href="CLI/DSL/Argument.html">CLI::DSL::Argument</a>
|
72
|
+
</li>
|
73
|
+
<li class="class">
|
74
|
+
<a href="CLI/DSL/Arguments.html">CLI::DSL::Arguments</a>
|
75
|
+
</li>
|
76
|
+
<li class="class">
|
77
|
+
<a href="CLI/DSL/Base.html">CLI::DSL::Base</a>
|
78
|
+
</li>
|
79
|
+
<li class="module">
|
80
|
+
<a href="CLI/DSL/Cast.html">CLI::DSL::Cast</a>
|
81
|
+
</li>
|
82
|
+
<li class="module">
|
83
|
+
<a href="CLI/DSL/Description.html">CLI::DSL::Description</a>
|
84
|
+
</li>
|
85
|
+
<li class="class">
|
86
|
+
<a href="CLI/DSL/Input.html">CLI::DSL::Input</a>
|
87
|
+
</li>
|
88
|
+
<li class="module">
|
89
|
+
<a href="CLI/DSL/MultiDefault.html">CLI::DSL::MultiDefault</a>
|
90
|
+
</li>
|
91
|
+
<li class="class">
|
92
|
+
<a href="CLI/DSL/Option.html">CLI::DSL::Option</a>
|
93
|
+
</li>
|
94
|
+
<li class="class">
|
95
|
+
<a href="CLI/DSL/Options.html">CLI::DSL::Options</a>
|
96
|
+
</li>
|
97
|
+
<li class="class">
|
98
|
+
<a href="CLI/DSL/Switch.html">CLI::DSL::Switch</a>
|
99
|
+
</li>
|
100
|
+
<li class="module">
|
101
|
+
<a href="CLI/DSL/Value.html">CLI::DSL::Value</a>
|
102
|
+
</li>
|
103
|
+
<li class="class">
|
104
|
+
<a href="CLI/Options.html">CLI::Options</a>
|
105
|
+
</li>
|
106
|
+
<li class="class">
|
107
|
+
<a href="CLI/ParserError.html">CLI::ParserError</a>
|
108
|
+
</li>
|
109
|
+
<li class="class">
|
110
|
+
<a href="CLI/ParserError/ArgumentNameSpecifiedTwice.html">CLI::ParserError::ArgumentNameSpecifiedTwice</a>
|
111
|
+
</li>
|
112
|
+
<li class="class">
|
113
|
+
<a href="CLI/ParserError/LongNameSpecifiedTwiceError.html">CLI::ParserError::LongNameSpecifiedTwiceError</a>
|
114
|
+
</li>
|
115
|
+
<li class="class">
|
116
|
+
<a href="CLI/ParserError/MultipleArgumentsSpecifierError.html">CLI::ParserError::MultipleArgumentsSpecifierError</a>
|
117
|
+
</li>
|
118
|
+
<li class="class">
|
119
|
+
<a href="CLI/ParserError/NameArgumetNotSymbolError.html">CLI::ParserError::NameArgumetNotSymbolError</a>
|
120
|
+
</li>
|
121
|
+
<li class="class">
|
122
|
+
<a href="CLI/ParserError/OptionsArgumentNotHashError.html">CLI::ParserError::OptionsArgumentNotHashError</a>
|
123
|
+
</li>
|
124
|
+
<li class="class">
|
125
|
+
<a href="CLI/ParserError/ShortNameIsInvalidError.html">CLI::ParserError::ShortNameIsInvalidError</a>
|
126
|
+
</li>
|
127
|
+
<li class="class">
|
128
|
+
<a href="CLI/ParserError/ShortNameNotSymbolError.html">CLI::ParserError::ShortNameNotSymbolError</a>
|
129
|
+
</li>
|
130
|
+
<li class="class">
|
131
|
+
<a href="CLI/ParserError/ShortNameSpecifiedTwiceError.html">CLI::ParserError::ShortNameSpecifiedTwiceError</a>
|
132
|
+
</li>
|
133
|
+
<li class="class">
|
134
|
+
<a href="CLI/ParsingError.html">CLI::ParsingError</a>
|
135
|
+
</li>
|
136
|
+
<li class="class">
|
137
|
+
<a href="CLI/ParsingError/CastError.html">CLI::ParsingError::CastError</a>
|
138
|
+
</li>
|
139
|
+
<li class="class">
|
140
|
+
<a href="CLI/ParsingError/MandatoryArgumentNotSpecifiedError.html">CLI::ParsingError::MandatoryArgumentNotSpecifiedError</a>
|
141
|
+
</li>
|
142
|
+
<li class="class">
|
143
|
+
<a href="CLI/ParsingError/MandatoryOptionsNotSpecifiedError.html">CLI::ParsingError::MandatoryOptionsNotSpecifiedError</a>
|
144
|
+
</li>
|
145
|
+
<li class="class">
|
146
|
+
<a href="CLI/ParsingError/MissingOptionValueError.html">CLI::ParsingError::MissingOptionValueError</a>
|
147
|
+
</li>
|
148
|
+
<li class="class">
|
149
|
+
<a href="CLI/ParsingError/UnknownSwitchError.html">CLI::ParsingError::UnknownSwitchError</a>
|
150
|
+
</li>
|
151
|
+
<li class="class">
|
152
|
+
<a href="CLI/ParsingError/UsageError.html">CLI::ParsingError::UsageError</a>
|
153
|
+
</li>
|
154
|
+
<li class="class">
|
155
|
+
<a href="CLI/Switches.html">CLI::Switches</a>
|
156
|
+
</li>
|
157
|
+
<li class="class">
|
158
|
+
<a href="CLI/Values.html">CLI::Values</a>
|
159
|
+
</li>
|
160
|
+
</ul>
|
161
|
+
|
162
|
+
<h2 id="methods">Methods</h2>
|
163
|
+
<ul>
|
164
|
+
|
165
|
+
<li class="method">
|
166
|
+
<a href="CLI/Switches.html#method-c-is_switch-3F">::is_switch?</a>
|
167
|
+
—
|
168
|
+
<span class="container">CLI::Switches</span>
|
169
|
+
|
170
|
+
<li class="method">
|
171
|
+
<a href="CLI.html#method-c-name">::name</a>
|
172
|
+
—
|
173
|
+
<span class="container">CLI</span>
|
174
|
+
|
175
|
+
<li class="method">
|
176
|
+
<a href="CLI.html#method-c-new">::new</a>
|
177
|
+
—
|
178
|
+
<span class="container">CLI</span>
|
179
|
+
|
180
|
+
<li class="method">
|
181
|
+
<a href="CLI/ParserError/NameArgumetNotSymbolError.html#method-c-new">::new</a>
|
182
|
+
—
|
183
|
+
<span class="container">CLI::ParserError::NameArgumetNotSymbolError</span>
|
184
|
+
|
185
|
+
<li class="method">
|
186
|
+
<a href="CLI/ParserError/OptionsArgumentNotHashError.html#method-c-new">::new</a>
|
187
|
+
—
|
188
|
+
<span class="container">CLI::ParserError::OptionsArgumentNotHashError</span>
|
189
|
+
|
190
|
+
<li class="method">
|
191
|
+
<a href="CLI/ParserError/ArgumentNameSpecifiedTwice.html#method-c-new">::new</a>
|
192
|
+
—
|
193
|
+
<span class="container">CLI::ParserError::ArgumentNameSpecifiedTwice</span>
|
194
|
+
|
195
|
+
<li class="method">
|
196
|
+
<a href="CLI/ParserError/LongNameSpecifiedTwiceError.html#method-c-new">::new</a>
|
197
|
+
—
|
198
|
+
<span class="container">CLI::ParserError::LongNameSpecifiedTwiceError</span>
|
199
|
+
|
200
|
+
<li class="method">
|
201
|
+
<a href="CLI/ParserError/ShortNameSpecifiedTwiceError.html#method-c-new">::new</a>
|
202
|
+
—
|
203
|
+
<span class="container">CLI::ParserError::ShortNameSpecifiedTwiceError</span>
|
204
|
+
|
205
|
+
<li class="method">
|
206
|
+
<a href="CLI/ParserError/ShortNameNotSymbolError.html#method-c-new">::new</a>
|
207
|
+
—
|
208
|
+
<span class="container">CLI::ParserError::ShortNameNotSymbolError</span>
|
209
|
+
|
210
|
+
<li class="method">
|
211
|
+
<a href="CLI/ParserError/ShortNameIsInvalidError.html#method-c-new">::new</a>
|
212
|
+
—
|
213
|
+
<span class="container">CLI::ParserError::ShortNameIsInvalidError</span>
|
214
|
+
|
215
|
+
<li class="method">
|
216
|
+
<a href="CLI/ParserError/MultipleArgumentsSpecifierError.html#method-c-new">::new</a>
|
217
|
+
—
|
218
|
+
<span class="container">CLI::ParserError::MultipleArgumentsSpecifierError</span>
|
219
|
+
|
220
|
+
<li class="method">
|
221
|
+
<a href="CLI/ParsingError/MissingOptionValueError.html#method-c-new">::new</a>
|
222
|
+
—
|
223
|
+
<span class="container">CLI::ParsingError::MissingOptionValueError</span>
|
224
|
+
|
225
|
+
<li class="method">
|
226
|
+
<a href="CLI/ParsingError/UnknownSwitchError.html#method-c-new">::new</a>
|
227
|
+
—
|
228
|
+
<span class="container">CLI::ParsingError::UnknownSwitchError</span>
|
229
|
+
|
230
|
+
<li class="method">
|
231
|
+
<a href="CLI/ParsingError/MandatoryOptionsNotSpecifiedError.html#method-c-new">::new</a>
|
232
|
+
—
|
233
|
+
<span class="container">CLI::ParsingError::MandatoryOptionsNotSpecifiedError</span>
|
234
|
+
|
235
|
+
<li class="method">
|
236
|
+
<a href="CLI/ParsingError/MandatoryArgumentNotSpecifiedError.html#method-c-new">::new</a>
|
237
|
+
—
|
238
|
+
<span class="container">CLI::ParsingError::MandatoryArgumentNotSpecifiedError</span>
|
239
|
+
|
240
|
+
<li class="method">
|
241
|
+
<a href="CLI/ParsingError/CastError.html#method-c-new">::new</a>
|
242
|
+
—
|
243
|
+
<span class="container">CLI::ParsingError::CastError</span>
|
244
|
+
|
245
|
+
<li class="method">
|
246
|
+
<a href="CLI/DSL/Base.html#method-c-new">::new</a>
|
247
|
+
—
|
248
|
+
<span class="container">CLI::DSL::Base</span>
|
249
|
+
|
250
|
+
<li class="method">
|
251
|
+
<a href="CLI/DSL/Argument.html#method-c-new">::new</a>
|
252
|
+
—
|
253
|
+
<span class="container">CLI::DSL::Argument</span>
|
254
|
+
|
255
|
+
<li class="method">
|
256
|
+
<a href="CLI/DSL/Switch.html#method-c-new">::new</a>
|
257
|
+
—
|
258
|
+
<span class="container">CLI::DSL::Switch</span>
|
259
|
+
|
260
|
+
<li class="method">
|
261
|
+
<a href="CLI/Switches.html#method-c-new">::new</a>
|
262
|
+
—
|
263
|
+
<span class="container">CLI::Switches</span>
|
264
|
+
|
265
|
+
<li class="method">
|
266
|
+
<a href="CLI/Switches.html#method-i-3C-3C">#<<</a>
|
267
|
+
—
|
268
|
+
<span class="container">CLI::Switches</span>
|
269
|
+
|
270
|
+
<li class="method">
|
271
|
+
<a href="CLI/Values.html#method-i-append">#append</a>
|
272
|
+
—
|
273
|
+
<span class="container">CLI::Values</span>
|
274
|
+
|
275
|
+
<li class="method">
|
276
|
+
<a href="CLI.html#method-i-argument">#argument</a>
|
277
|
+
—
|
278
|
+
<span class="container">CLI</span>
|
279
|
+
|
280
|
+
<li class="method">
|
281
|
+
<a href="CLI.html#method-i-arguments">#arguments</a>
|
282
|
+
—
|
283
|
+
<span class="container">CLI</span>
|
284
|
+
|
285
|
+
<li class="method">
|
286
|
+
<a href="CLI/DSL/Arguments.html#method-i-cast">#cast</a>
|
287
|
+
—
|
288
|
+
<span class="container">CLI::DSL::Arguments</span>
|
289
|
+
|
290
|
+
<li class="method">
|
291
|
+
<a href="CLI/DSL/Cast.html#method-i-cast">#cast</a>
|
292
|
+
—
|
293
|
+
<span class="container">CLI::DSL::Cast</span>
|
294
|
+
|
295
|
+
<li class="method">
|
296
|
+
<a href="CLI/DSL/Value.html#method-i-default">#default</a>
|
297
|
+
—
|
298
|
+
<span class="container">CLI::DSL::Value</span>
|
299
|
+
|
300
|
+
<li class="method">
|
301
|
+
<a href="CLI/DSL/MultiDefault.html#method-i-default">#default</a>
|
302
|
+
—
|
303
|
+
<span class="container">CLI::DSL::MultiDefault</span>
|
304
|
+
|
305
|
+
<li class="method">
|
306
|
+
<a href="CLI/DSL/Value.html#method-i-default_cast">#default_cast</a>
|
307
|
+
—
|
308
|
+
<span class="container">CLI::DSL::Value</span>
|
309
|
+
|
310
|
+
<li class="method">
|
311
|
+
<a href="CLI/DSL/MultiDefault.html#method-i-default_cast">#default_cast</a>
|
312
|
+
—
|
313
|
+
<span class="container">CLI::DSL::MultiDefault</span>
|
314
|
+
|
315
|
+
<li class="method">
|
316
|
+
<a href="CLI/DSL/Value.html#method-i-default_label">#default_label</a>
|
317
|
+
—
|
318
|
+
<span class="container">CLI::DSL::Value</span>
|
319
|
+
|
320
|
+
<li class="method">
|
321
|
+
<a href="CLI.html#method-i-description">#description</a>
|
322
|
+
—
|
323
|
+
<span class="container">CLI</span>
|
324
|
+
|
325
|
+
<li class="method">
|
326
|
+
<a href="CLI/DSL/Description.html#method-i-description">#description</a>
|
327
|
+
—
|
328
|
+
<span class="container">CLI::DSL::Description</span>
|
329
|
+
|
330
|
+
<li class="method">
|
331
|
+
<a href="CLI/DSL/Description.html#method-i-description-3F">#description?</a>
|
332
|
+
—
|
333
|
+
<span class="container">CLI::DSL::Description</span>
|
334
|
+
|
335
|
+
<li class="method">
|
336
|
+
<a href="CLI/Switches.html#method-i-find">#find</a>
|
337
|
+
—
|
338
|
+
<span class="container">CLI::Switches</span>
|
339
|
+
|
340
|
+
<li class="method">
|
341
|
+
<a href="CLI/Switches.html#method-i-find_long">#find_long</a>
|
342
|
+
—
|
343
|
+
<span class="container">CLI::Switches</span>
|
344
|
+
|
345
|
+
<li class="method">
|
346
|
+
<a href="CLI/Switches.html#method-i-find_short">#find_short</a>
|
347
|
+
—
|
348
|
+
<span class="container">CLI::Switches</span>
|
349
|
+
|
350
|
+
<li class="method">
|
351
|
+
<a href="CLI/Values.html#method-i-get">#get</a>
|
352
|
+
—
|
353
|
+
<span class="container">CLI::Values</span>
|
354
|
+
|
355
|
+
<li class="method">
|
356
|
+
<a href="CLI/Arguments.html#method-i-has-3F">#has?</a>
|
357
|
+
—
|
358
|
+
<span class="container">CLI::Arguments</span>
|
359
|
+
|
360
|
+
<li class="method">
|
361
|
+
<a href="CLI/DSL/Value.html#method-i-has_default-3F">#has_default?</a>
|
362
|
+
—
|
363
|
+
<span class="container">CLI::DSL::Value</span>
|
364
|
+
|
365
|
+
<li class="method">
|
366
|
+
<a href="CLI/DSL/Value.html#method-i-has_default_label-3F">#has_default_label?</a>
|
367
|
+
—
|
368
|
+
<span class="container">CLI::DSL::Value</span>
|
369
|
+
|
370
|
+
<li class="method">
|
371
|
+
<a href="CLI/Switches.html#method-i-has_long-3F">#has_long?</a>
|
372
|
+
—
|
373
|
+
<span class="container">CLI::Switches</span>
|
374
|
+
|
375
|
+
<li class="method">
|
376
|
+
<a href="CLI/DSL/Switch.html#method-i-has_short-3F">#has_short?</a>
|
377
|
+
—
|
378
|
+
<span class="container">CLI::DSL::Switch</span>
|
379
|
+
|
380
|
+
<li class="method">
|
381
|
+
<a href="CLI/Switches.html#method-i-has_short-3F">#has_short?</a>
|
382
|
+
—
|
383
|
+
<span class="container">CLI::Switches</span>
|
384
|
+
|
385
|
+
<li class="method">
|
386
|
+
<a href="CLI/Arguments.html#method-i-mandatory">#mandatory</a>
|
387
|
+
—
|
388
|
+
<span class="container">CLI::Arguments</span>
|
389
|
+
|
390
|
+
<li class="method">
|
391
|
+
<a href="CLI/Options.html#method-i-mandatory">#mandatory</a>
|
392
|
+
—
|
393
|
+
<span class="container">CLI::Options</span>
|
394
|
+
|
395
|
+
<li class="method">
|
396
|
+
<a href="CLI/DSL/Value.html#method-i-mandatory-3F">#mandatory?</a>
|
397
|
+
—
|
398
|
+
<span class="container">CLI::DSL::Value</span>
|
399
|
+
|
400
|
+
<li class="method">
|
401
|
+
<a href="CLI/Arguments.html#method-i-multiary">#multiary</a>
|
402
|
+
—
|
403
|
+
<span class="container">CLI::Arguments</span>
|
404
|
+
|
405
|
+
<li class="method">
|
406
|
+
<a href="CLI/Options.html#method-i-multiary">#multiary</a>
|
407
|
+
—
|
408
|
+
<span class="container">CLI::Options</span>
|
409
|
+
|
410
|
+
<li class="method">
|
411
|
+
<a href="CLI/DSL/Argument.html#method-i-multiary-3F">#multiary?</a>
|
412
|
+
—
|
413
|
+
<span class="container">CLI::DSL::Argument</span>
|
414
|
+
|
415
|
+
<li class="method">
|
416
|
+
<a href="CLI/DSL/Arguments.html#method-i-multiary-3F">#multiary?</a>
|
417
|
+
—
|
418
|
+
<span class="container">CLI::DSL::Arguments</span>
|
419
|
+
|
420
|
+
<li class="method">
|
421
|
+
<a href="CLI/DSL/Option.html#method-i-multiary-3F">#multiary?</a>
|
422
|
+
—
|
423
|
+
<span class="container">CLI::DSL::Option</span>
|
424
|
+
|
425
|
+
<li class="method">
|
426
|
+
<a href="CLI/DSL/Options.html#method-i-multiary-3F">#multiary?</a>
|
427
|
+
—
|
428
|
+
<span class="container">CLI::DSL::Options</span>
|
429
|
+
|
430
|
+
<li class="method">
|
431
|
+
<a href="CLI.html#method-i-option">#option</a>
|
432
|
+
—
|
433
|
+
<span class="container">CLI</span>
|
434
|
+
|
435
|
+
<li class="method">
|
436
|
+
<a href="CLI/Options.html#method-i-optional">#optional</a>
|
437
|
+
—
|
438
|
+
<span class="container">CLI::Options</span>
|
439
|
+
|
440
|
+
<li class="method">
|
441
|
+
<a href="CLI.html#method-i-options">#options</a>
|
442
|
+
—
|
443
|
+
<span class="container">CLI</span>
|
444
|
+
|
445
|
+
<li class="method">
|
446
|
+
<a href="CLI.html#method-i-parse">#parse</a>
|
447
|
+
—
|
448
|
+
<span class="container">CLI</span>
|
449
|
+
|
450
|
+
<li class="method">
|
451
|
+
<a href="CLI.html#method-i-parse-21">#parse!</a>
|
452
|
+
—
|
453
|
+
<span class="container">CLI</span>
|
454
|
+
|
455
|
+
<li class="method">
|
456
|
+
<a href="CLI/Values.html#method-i-set">#set</a>
|
457
|
+
—
|
458
|
+
<span class="container">CLI::Values</span>
|
459
|
+
|
460
|
+
<li class="method">
|
461
|
+
<a href="CLI/DSL/Switch.html#method-i-short">#short</a>
|
462
|
+
—
|
463
|
+
<span class="container">CLI::DSL::Switch</span>
|
464
|
+
|
465
|
+
<li class="method">
|
466
|
+
<a href="CLI.html#method-i-stdin">#stdin</a>
|
467
|
+
—
|
468
|
+
<span class="container">CLI</span>
|
469
|
+
|
470
|
+
<li class="method">
|
471
|
+
<a href="CLI.html#method-i-switch">#switch</a>
|
472
|
+
—
|
473
|
+
<span class="container">CLI</span>
|
474
|
+
|
475
|
+
<li class="method">
|
476
|
+
<a href="CLI/DSL/Switch.html#method-i-switch">#switch</a>
|
477
|
+
—
|
478
|
+
<span class="container">CLI::DSL::Switch</span>
|
479
|
+
|
480
|
+
<li class="method">
|
481
|
+
<a href="CLI/DSL/Switch.html#method-i-switch_short">#switch_short</a>
|
482
|
+
—
|
483
|
+
<span class="container">CLI::DSL::Switch</span>
|
484
|
+
|
485
|
+
<li class="method">
|
486
|
+
<a href="CLI/DSL/Input.html#method-i-to_s">#to_s</a>
|
487
|
+
—
|
488
|
+
<span class="container">CLI::DSL::Input</span>
|
489
|
+
|
490
|
+
<li class="method">
|
491
|
+
<a href="CLI/DSL/Argument.html#method-i-to_s">#to_s</a>
|
492
|
+
—
|
493
|
+
<span class="container">CLI::DSL::Argument</span>
|
494
|
+
|
495
|
+
<li class="method">
|
496
|
+
<a href="CLI/DSL/Switch.html#method-i-to_s">#to_s</a>
|
497
|
+
—
|
498
|
+
<span class="container">CLI::DSL::Switch</span>
|
499
|
+
|
500
|
+
<li class="method">
|
501
|
+
<a href="CLI/Options.html#method-i-unarry">#unarry</a>
|
502
|
+
—
|
503
|
+
<span class="container">CLI::Options</span>
|
504
|
+
|
505
|
+
<li class="method">
|
506
|
+
<a href="CLI.html#method-i-usage">#usage</a>
|
507
|
+
—
|
508
|
+
<span class="container">CLI</span>
|
509
|
+
|
510
|
+
<li class="method">
|
511
|
+
<a href="CLI.html#method-i-usage-21">#usage!</a>
|
512
|
+
—
|
513
|
+
<span class="container">CLI</span>
|
514
|
+
|
515
|
+
<li class="method">
|
516
|
+
<a href="CLI/Values.html#method-i-value">#value</a>
|
517
|
+
—
|
518
|
+
<span class="container">CLI::Values</span>
|
519
|
+
|
520
|
+
<li class="method">
|
521
|
+
<a href="CLI.html#method-i-version">#version</a>
|
522
|
+
—
|
523
|
+
<span class="container">CLI</span>
|
524
|
+
</ul>
|
525
|
+
</main>
|
526
|
+
|
527
|
+
|
528
|
+
<footer id="validator-badges" role="contentinfo">
|
529
|
+
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
530
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.4.0.
|
531
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
532
|
+
</footer>
|
533
|
+
|