como 0.0.2 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +12 -0
- data/README.rdoc +11 -5
- data/Rakefile +6 -1
- data/doc/Como/ArgsParseState.html +912 -0
- data/doc/Como/ComoCommon.html +305 -0
- data/doc/Como/MainOpt.html +636 -0
- data/doc/Como/MasterOpt.html +636 -0
- data/doc/Como/Opt/ErrorWithData.html +304 -0
- data/doc/Como/Opt/InvalidOption.html +158 -0
- data/doc/Como/Opt/MissingArgument.html +158 -0
- data/doc/Como/Opt.html +6098 -0
- data/doc/Como/RuleCheck.html +933 -0
- data/doc/Como/RuleDisplay.html +1193 -0
- data/doc/Como/Spec.html +1750 -0
- data/doc/Como.html +625 -0
- data/doc/_index.html +242 -0
- data/doc/class_list.html +53 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +57 -0
- data/doc/css/style.css +338 -0
- data/doc/file.CHANGELOG.html +90 -0
- data/doc/file.README.html +94 -0
- data/doc/file.como.html +1962 -0
- data/doc/file_list.html +58 -0
- data/doc/frames.html +28 -0
- data/doc/index.html +94 -0
- data/doc/js/app.js +214 -0
- data/doc/js/full_list.js +178 -0
- data/doc/js/jquery.js +4 -0
- data/doc/method_list.html +838 -0
- data/doc/top-level-namespace.html +112 -0
- data/lib/como.rb +1660 -661
- data/test/como_compatible +37 -0
- data/test/como_config +44 -0
- data/test/como_options +36 -0
- data/test/como_queries +44 -0
- data/test/como_rule_1 +28 -0
- data/test/como_rule_2 +28 -0
- data/test/como_subcmd +72 -0
- data/test/como_subcmd_config +88 -0
- data/test/golden/compatible.txt +438 -0
- data/test/golden/config.txt +319 -0
- data/test/golden/options.txt +438 -0
- data/test/golden/queries.txt +78 -0
- data/test/golden/rule_1.txt +454 -0
- data/test/golden/rule_2.txt +476 -0
- data/test/golden/subcmd.txt +360 -0
- data/test/golden/subcmd_config.txt +534 -0
- data/test/test_como.rb +22 -328
- data/test/test_compatible +28 -0
- data/test/test_config +12 -0
- data/test/test_options +28 -0
- data/test/test_queries +7 -0
- data/test/test_rule_1 +27 -0
- data/test/test_rule_2 +27 -0
- data/test/test_subcmd +30 -0
- data/test/test_subcmd_config +31 -0
- metadata +62 -6
@@ -0,0 +1,360 @@
|
|
1
|
+
|
2
|
+
como_subcmd error: Subcommand required for "como_subcmd"...
|
3
|
+
|
4
|
+
Usage:
|
5
|
+
como_subcmd [-p <password>] [-u <username>+] <<subcommand>>
|
6
|
+
|
7
|
+
Options:
|
8
|
+
-p User password.
|
9
|
+
-u Username(s).
|
10
|
+
|
11
|
+
Subcommands:
|
12
|
+
add Add file to repo.
|
13
|
+
rm Remove file from repo.
|
14
|
+
commit Commit (pending) changes to repo.
|
15
|
+
|
16
|
+
|
17
|
+
Copyright (c) 2013 by Como Tester
|
18
|
+
|
19
|
+
|
20
|
+
como_subcmd error: Subcommand required for "como_subcmd"...
|
21
|
+
|
22
|
+
Usage:
|
23
|
+
como_subcmd [-p <password>] [-u <username>+] <<subcommand>>
|
24
|
+
|
25
|
+
Options:
|
26
|
+
-p User password.
|
27
|
+
-u Username(s).
|
28
|
+
|
29
|
+
Subcommands:
|
30
|
+
add Add file to repo.
|
31
|
+
rm Remove file from repo.
|
32
|
+
commit Commit (pending) changes to repo.
|
33
|
+
|
34
|
+
|
35
|
+
Copyright (c) 2013 by Como Tester
|
36
|
+
|
37
|
+
|
38
|
+
como_subcmd error: Option "-f" missing for "como_subcmd add"...
|
39
|
+
|
40
|
+
Subcommand "add" usage:
|
41
|
+
como_subcmd add [-fo] [-u <username>] -f <file>
|
42
|
+
|
43
|
+
-fo Force operation.
|
44
|
+
-u Username.
|
45
|
+
-f File.
|
46
|
+
|
47
|
+
|
48
|
+
como_subcmd error: No argument given for "-f"...
|
49
|
+
|
50
|
+
Subcommand "add" usage:
|
51
|
+
como_subcmd add [-fo] [-u <username>] -f <file>
|
52
|
+
|
53
|
+
-fo Force operation.
|
54
|
+
-u Username.
|
55
|
+
-f File.
|
56
|
+
|
57
|
+
|
58
|
+
como_subcmd error: Option combination mismatch!
|
59
|
+
|
60
|
+
Usage:
|
61
|
+
como_subcmd [-p <password>] [-u <username>+] <<subcommand>>
|
62
|
+
|
63
|
+
Options:
|
64
|
+
-p User password.
|
65
|
+
-u Username(s).
|
66
|
+
|
67
|
+
Subcommands:
|
68
|
+
add Add file to repo.
|
69
|
+
rm Remove file from repo.
|
70
|
+
commit Commit (pending) changes to repo.
|
71
|
+
|
72
|
+
|
73
|
+
Copyright (c) 2013 by Como Tester
|
74
|
+
|
75
|
+
|
76
|
+
Option Combinations:
|
77
|
+
|--# One or more of:
|
78
|
+
| |--<password>
|
79
|
+
| |--<username>
|
80
|
+
|
81
|
+
|
82
|
+
como_subcmd error: Option combination mismatch!
|
83
|
+
|
84
|
+
Subcommand "add" usage:
|
85
|
+
como_subcmd add [-fo] [-u <username>] -f <file>
|
86
|
+
|
87
|
+
-fo Force operation.
|
88
|
+
-u Username.
|
89
|
+
-f File.
|
90
|
+
|
91
|
+
|
92
|
+
Option Combinations:
|
93
|
+
|--# One of:
|
94
|
+
| |--<file>
|
95
|
+
| |--<username>
|
96
|
+
| |--# Not:
|
97
|
+
| | |--<-fo>
|
98
|
+
|
99
|
+
|
100
|
+
como_subcmd error: Unknown option "-f"...
|
101
|
+
|
102
|
+
Usage:
|
103
|
+
como_subcmd [-p <password>] [-u <username>+] <<subcommand>>
|
104
|
+
|
105
|
+
Options:
|
106
|
+
-p User password.
|
107
|
+
-u Username(s).
|
108
|
+
|
109
|
+
Subcommands:
|
110
|
+
add Add file to repo.
|
111
|
+
rm Remove file from repo.
|
112
|
+
commit Commit (pending) changes to repo.
|
113
|
+
|
114
|
+
|
115
|
+
Copyright (c) 2013 by Como Tester
|
116
|
+
|
117
|
+
|
118
|
+
como_subcmd error: Option combination mismatch!
|
119
|
+
|
120
|
+
Subcommand "add" usage:
|
121
|
+
como_subcmd add [-fo] [-u <username>] -f <file>
|
122
|
+
|
123
|
+
-fo Force operation.
|
124
|
+
-u Username.
|
125
|
+
-f File.
|
126
|
+
|
127
|
+
|
128
|
+
Option Combinations:
|
129
|
+
|--# One of:
|
130
|
+
| |--<file>
|
131
|
+
| |--<username>
|
132
|
+
| |--# Not:
|
133
|
+
| | |--<-fo>
|
134
|
+
|
135
|
+
|
136
|
+
como_subcmd error: Option combination mismatch!
|
137
|
+
|
138
|
+
Subcommand "add" usage:
|
139
|
+
como_subcmd add [-fo] [-u <username>] -f <file>
|
140
|
+
|
141
|
+
-fo Force operation.
|
142
|
+
-u Username.
|
143
|
+
-f File.
|
144
|
+
|
145
|
+
|
146
|
+
Option Combinations:
|
147
|
+
|--# One of:
|
148
|
+
| |--<file>
|
149
|
+
| |--<username>
|
150
|
+
| |--# Not:
|
151
|
+
| | |--<-fo>
|
152
|
+
|
153
|
+
|
154
|
+
como_subcmd error: Option combination mismatch!
|
155
|
+
|
156
|
+
Subcommand "add" usage:
|
157
|
+
como_subcmd add [-fo] [-u <username>] -f <file>
|
158
|
+
|
159
|
+
-fo Force operation.
|
160
|
+
-u Username.
|
161
|
+
-f File.
|
162
|
+
|
163
|
+
|
164
|
+
Option Combinations:
|
165
|
+
|--# One of:
|
166
|
+
| |--<file>
|
167
|
+
| |--<username>
|
168
|
+
| |--# Not:
|
169
|
+
| | |--<-fo>
|
170
|
+
|
171
|
+
Options for: como_subcmd
|
172
|
+
Given "help": false
|
173
|
+
Given "password": true
|
174
|
+
Given "username": false
|
175
|
+
Given "terminator": false
|
176
|
+
Given "add": true
|
177
|
+
Given "rm": false
|
178
|
+
Given "commit": false
|
179
|
+
Value "password": pass
|
180
|
+
Value "add": false
|
181
|
+
Options for: add
|
182
|
+
Given "help": false
|
183
|
+
Given "force": true
|
184
|
+
Given "username": false
|
185
|
+
Given "file": true
|
186
|
+
Value "force": true
|
187
|
+
Value "file": file
|
188
|
+
|
189
|
+
Subcommand "add" usage:
|
190
|
+
como_subcmd add [-fo] [-u <username>] -f <file>
|
191
|
+
|
192
|
+
-fo Force operation.
|
193
|
+
-u Username.
|
194
|
+
-f File.
|
195
|
+
|
196
|
+
|
197
|
+
como_subcmd error: No default option specified for "rm"...
|
198
|
+
|
199
|
+
Subcommand "add" usage:
|
200
|
+
como_subcmd add [-fo] [-u <username>] -f <file>
|
201
|
+
|
202
|
+
-fo Force operation.
|
203
|
+
-u Username.
|
204
|
+
-f File.
|
205
|
+
|
206
|
+
|
207
|
+
como_subcmd error: No default option specified for "commit"...
|
208
|
+
|
209
|
+
Subcommand "add" usage:
|
210
|
+
como_subcmd add [-fo] [-u <username>] -f <file>
|
211
|
+
|
212
|
+
-fo Force operation.
|
213
|
+
-u Username.
|
214
|
+
-f File.
|
215
|
+
|
216
|
+
|
217
|
+
como_subcmd error: No default option specified for "commit"...
|
218
|
+
|
219
|
+
Subcommand "add" usage:
|
220
|
+
como_subcmd add [-fo] [-u <username>] -f <file>
|
221
|
+
|
222
|
+
-fo Force operation.
|
223
|
+
-u Username.
|
224
|
+
-f File.
|
225
|
+
|
226
|
+
Options for: como_subcmd
|
227
|
+
Given "help": false
|
228
|
+
Given "password": true
|
229
|
+
Given "username": false
|
230
|
+
Given "terminator": false
|
231
|
+
Given "add": false
|
232
|
+
Given "rm": true
|
233
|
+
Given "commit": false
|
234
|
+
Value "password": pass
|
235
|
+
Value "rm": false
|
236
|
+
Options for: rm
|
237
|
+
Given "help": false
|
238
|
+
Given "force": false
|
239
|
+
Given "file": false
|
240
|
+
|
241
|
+
como_subcmd error: No default option specified for "commit"...
|
242
|
+
|
243
|
+
Subcommand "rm" usage:
|
244
|
+
como_subcmd rm [-fo] [-f <file>]
|
245
|
+
|
246
|
+
-fo Force operation.
|
247
|
+
-f File.
|
248
|
+
|
249
|
+
Options for: como_subcmd
|
250
|
+
Given "help": false
|
251
|
+
Given "password": true
|
252
|
+
Given "username": false
|
253
|
+
Given "terminator": false
|
254
|
+
Given "add": false
|
255
|
+
Given "rm": true
|
256
|
+
Given "commit": false
|
257
|
+
Value "password": pass
|
258
|
+
Value "rm": false
|
259
|
+
Options for: rm
|
260
|
+
Given "help": false
|
261
|
+
Given "force": false
|
262
|
+
Given "file": true
|
263
|
+
Value "file": commit
|
264
|
+
Options for: como_subcmd
|
265
|
+
Given "help": false
|
266
|
+
Given "password": true
|
267
|
+
Given "username": false
|
268
|
+
Given "terminator": false
|
269
|
+
Given "add": false
|
270
|
+
Given "rm": false
|
271
|
+
Given "commit": true
|
272
|
+
Value "password": pass
|
273
|
+
Value "commit": false
|
274
|
+
Options for: commit
|
275
|
+
Given "help": false
|
276
|
+
Given "quiet": false
|
277
|
+
Given "username": false
|
278
|
+
Given "<default>": false
|
279
|
+
Options for: como_subcmd
|
280
|
+
Given "help": false
|
281
|
+
Given "password": true
|
282
|
+
Given "username": false
|
283
|
+
Given "terminator": false
|
284
|
+
Given "add": false
|
285
|
+
Given "rm": false
|
286
|
+
Given "commit": true
|
287
|
+
Value "password": pass
|
288
|
+
Value "commit": false
|
289
|
+
Options for: commit
|
290
|
+
Given "help": false
|
291
|
+
Given "quiet": false
|
292
|
+
Given "username": false
|
293
|
+
Given "<default>": true
|
294
|
+
Value "<default>": ["dii", "duu"]
|
295
|
+
Options for: como_subcmd
|
296
|
+
Given "help": false
|
297
|
+
Given "password": true
|
298
|
+
Given "username": false
|
299
|
+
Given "terminator": false
|
300
|
+
Given "add": false
|
301
|
+
Given "rm": false
|
302
|
+
Given "commit": true
|
303
|
+
Value "password": pass
|
304
|
+
Value "commit": false
|
305
|
+
Options for: commit
|
306
|
+
Given "help": false
|
307
|
+
Given "quiet": false
|
308
|
+
Given "username": true
|
309
|
+
Given "<default>": true
|
310
|
+
Value "username": user1
|
311
|
+
Value "<default>": ["dii", "duu"]
|
312
|
+
|
313
|
+
Subcommand "commit" usage:
|
314
|
+
como_subcmd commit [-q] [-u <username>] [<args>]
|
315
|
+
|
316
|
+
-q Quiet operation.
|
317
|
+
-u Username.
|
318
|
+
<args> File(s) to commit.
|
319
|
+
|
320
|
+
|
321
|
+
Subcommand "commit" usage:
|
322
|
+
como_subcmd commit [-q] [-u <username>] [<args>]
|
323
|
+
|
324
|
+
-q Quiet operation.
|
325
|
+
-u Username.
|
326
|
+
<args> File(s) to commit.
|
327
|
+
|
328
|
+
|
329
|
+
Subcommand "commit" usage:
|
330
|
+
como_subcmd commit [-q] [-u <username>] [<args>]
|
331
|
+
|
332
|
+
-q Quiet operation.
|
333
|
+
-u Username.
|
334
|
+
<args> File(s) to commit.
|
335
|
+
|
336
|
+
|
337
|
+
Subcommand "commit" usage:
|
338
|
+
como_subcmd commit [-q] [-u <username>] [<args>]
|
339
|
+
|
340
|
+
-q Quiet operation.
|
341
|
+
-u Username.
|
342
|
+
<args> File(s) to commit.
|
343
|
+
|
344
|
+
Options for: como_subcmd
|
345
|
+
Given "help": false
|
346
|
+
Given "password": true
|
347
|
+
Given "username": false
|
348
|
+
Given "terminator": false
|
349
|
+
Given "add": false
|
350
|
+
Given "rm": false
|
351
|
+
Given "commit": true
|
352
|
+
Value "password": foo
|
353
|
+
Value "commit": false
|
354
|
+
Options for: commit
|
355
|
+
Given "help": false
|
356
|
+
Given "quiet": false
|
357
|
+
Given "username": false
|
358
|
+
Given "<default>": true
|
359
|
+
Value "<default>": ["foo"]
|
360
|
+
External: ["external", "arguments"]
|