como 0.0.2 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. data/CHANGELOG.rdoc +12 -0
  2. data/README.rdoc +11 -5
  3. data/Rakefile +6 -1
  4. data/doc/Como/ArgsParseState.html +912 -0
  5. data/doc/Como/ComoCommon.html +305 -0
  6. data/doc/Como/MainOpt.html +636 -0
  7. data/doc/Como/MasterOpt.html +636 -0
  8. data/doc/Como/Opt/ErrorWithData.html +304 -0
  9. data/doc/Como/Opt/InvalidOption.html +158 -0
  10. data/doc/Como/Opt/MissingArgument.html +158 -0
  11. data/doc/Como/Opt.html +6098 -0
  12. data/doc/Como/RuleCheck.html +933 -0
  13. data/doc/Como/RuleDisplay.html +1193 -0
  14. data/doc/Como/Spec.html +1750 -0
  15. data/doc/Como.html +625 -0
  16. data/doc/_index.html +242 -0
  17. data/doc/class_list.html +53 -0
  18. data/doc/css/common.css +1 -0
  19. data/doc/css/full_list.css +57 -0
  20. data/doc/css/style.css +338 -0
  21. data/doc/file.CHANGELOG.html +90 -0
  22. data/doc/file.README.html +94 -0
  23. data/doc/file.como.html +1962 -0
  24. data/doc/file_list.html +58 -0
  25. data/doc/frames.html +28 -0
  26. data/doc/index.html +94 -0
  27. data/doc/js/app.js +214 -0
  28. data/doc/js/full_list.js +178 -0
  29. data/doc/js/jquery.js +4 -0
  30. data/doc/method_list.html +838 -0
  31. data/doc/top-level-namespace.html +112 -0
  32. data/lib/como.rb +1660 -661
  33. data/test/como_compatible +37 -0
  34. data/test/como_config +44 -0
  35. data/test/como_options +36 -0
  36. data/test/como_queries +44 -0
  37. data/test/como_rule_1 +28 -0
  38. data/test/como_rule_2 +28 -0
  39. data/test/como_subcmd +72 -0
  40. data/test/como_subcmd_config +88 -0
  41. data/test/golden/compatible.txt +438 -0
  42. data/test/golden/config.txt +319 -0
  43. data/test/golden/options.txt +438 -0
  44. data/test/golden/queries.txt +78 -0
  45. data/test/golden/rule_1.txt +454 -0
  46. data/test/golden/rule_2.txt +476 -0
  47. data/test/golden/subcmd.txt +360 -0
  48. data/test/golden/subcmd_config.txt +534 -0
  49. data/test/test_como.rb +22 -328
  50. data/test/test_compatible +28 -0
  51. data/test/test_config +12 -0
  52. data/test/test_options +28 -0
  53. data/test/test_queries +7 -0
  54. data/test/test_rule_1 +27 -0
  55. data/test/test_rule_2 +27 -0
  56. data/test/test_subcmd +30 -0
  57. data/test/test_subcmd_config +31 -0
  58. metadata +62 -6
@@ -0,0 +1,476 @@
1
+
2
+ como_rule_2 error: Option combination mismatch!
3
+
4
+ Usage:
5
+ como_rule_2 [--doc] [-f <file>] [--debug] [-m <mode>] [--params <params>+] [-t <types>*] [-d <dir>+] [<args>]
6
+
7
+ --doc Documentation.
8
+ -f File argument.
9
+ --debug Enable debugging.
10
+ -m Mode.
11
+ --params Parameters.
12
+ -t Types.
13
+ -d Directory argument(s).
14
+ <args> Leftovers.
15
+
16
+
17
+ Copyright (c) 2013 by Como Tester
18
+
19
+
20
+ Option Combinations:
21
+ |--# One of:
22
+ | |--# One or more of:
23
+ | | |--<debug>
24
+ | | |--<mode>
25
+ | |--# If first then rest:
26
+ | | |--<->
27
+ | | |--<>
28
+ | | |--<-d>
29
+ | | |--# Ignoring:
30
+ | | | |--<debug>
31
+ | |--# Adding in order:
32
+ | | |--<params>
33
+ | | |--<types>
34
+ | |--# NONE:
35
+ | |--# All of:
36
+ | | |--# One of:
37
+ | | | |--<dir>
38
+ | | |--# One of:
39
+ | | | |--<file>
40
+
41
+
42
+ como_rule_2 error: No argument given for "-f"...
43
+
44
+ Usage:
45
+ como_rule_2 [--doc] [-f <file>] [--debug] [-m <mode>] [--params <params>+] [-t <types>*] [-d <dir>+] [<args>]
46
+
47
+ --doc Documentation.
48
+ -f File argument.
49
+ --debug Enable debugging.
50
+ -m Mode.
51
+ --params Parameters.
52
+ -t Types.
53
+ -d Directory argument(s).
54
+ <args> Leftovers.
55
+
56
+
57
+ Copyright (c) 2013 by Como Tester
58
+
59
+
60
+ como_rule_2 error: Option combination mismatch!
61
+
62
+ Usage:
63
+ como_rule_2 [--doc] [-f <file>] [--debug] [-m <mode>] [--params <params>+] [-t <types>*] [-d <dir>+] [<args>]
64
+
65
+ --doc Documentation.
66
+ -f File argument.
67
+ --debug Enable debugging.
68
+ -m Mode.
69
+ --params Parameters.
70
+ -t Types.
71
+ -d Directory argument(s).
72
+ <args> Leftovers.
73
+
74
+
75
+ Copyright (c) 2013 by Como Tester
76
+
77
+
78
+ Option Combinations:
79
+ |--# One of:
80
+ | |--# One or more of:
81
+ | | |--<debug>
82
+ | | |--<mode>
83
+ | |--# If first then rest:
84
+ | | |--<->
85
+ | | |--<>
86
+ | | |--<-d>
87
+ | | |--# Ignoring:
88
+ | | | |--<debug>
89
+ | |--# Adding in order:
90
+ | | |--<params>
91
+ | | |--<types>
92
+ | |--# NONE:
93
+ | |--# All of:
94
+ | | |--# One of:
95
+ | | | |--<dir>
96
+ | | |--# One of:
97
+ | | | |--<file>
98
+
99
+
100
+ como_rule_2 error: No argument given for "-f"...
101
+
102
+ Usage:
103
+ como_rule_2 [--doc] [-f <file>] [--debug] [-m <mode>] [--params <params>+] [-t <types>*] [-d <dir>+] [<args>]
104
+
105
+ --doc Documentation.
106
+ -f File argument.
107
+ --debug Enable debugging.
108
+ -m Mode.
109
+ --params Parameters.
110
+ -t Types.
111
+ -d Directory argument(s).
112
+ <args> Leftovers.
113
+
114
+
115
+ Copyright (c) 2013 by Como Tester
116
+
117
+
118
+ como_rule_2 error: Option combination mismatch!
119
+
120
+ Usage:
121
+ como_rule_2 [--doc] [-f <file>] [--debug] [-m <mode>] [--params <params>+] [-t <types>*] [-d <dir>+] [<args>]
122
+
123
+ --doc Documentation.
124
+ -f File argument.
125
+ --debug Enable debugging.
126
+ -m Mode.
127
+ --params Parameters.
128
+ -t Types.
129
+ -d Directory argument(s).
130
+ <args> Leftovers.
131
+
132
+
133
+ Copyright (c) 2013 by Como Tester
134
+
135
+
136
+ Option Combinations:
137
+ |--# One of:
138
+ | |--# One or more of:
139
+ | | |--<debug>
140
+ | | |--<mode>
141
+ | |--# If first then rest:
142
+ | | |--<->
143
+ | | |--<>
144
+ | | |--<-d>
145
+ | | |--# Ignoring:
146
+ | | | |--<debug>
147
+ | |--# Adding in order:
148
+ | | |--<params>
149
+ | | |--<types>
150
+ | |--# NONE:
151
+ | |--# All of:
152
+ | | |--# One of:
153
+ | | | |--<dir>
154
+ | | |--# One of:
155
+ | | | |--<file>
156
+
157
+
158
+ como_rule_2 error: Option combination mismatch!
159
+
160
+ Usage:
161
+ como_rule_2 [--doc] [-f <file>] [--debug] [-m <mode>] [--params <params>+] [-t <types>*] [-d <dir>+] [<args>]
162
+
163
+ --doc Documentation.
164
+ -f File argument.
165
+ --debug Enable debugging.
166
+ -m Mode.
167
+ --params Parameters.
168
+ -t Types.
169
+ -d Directory argument(s).
170
+ <args> Leftovers.
171
+
172
+
173
+ Copyright (c) 2013 by Como Tester
174
+
175
+
176
+ Option Combinations:
177
+ |--# One of:
178
+ | |--# One or more of:
179
+ | | |--<debug>
180
+ | | |--<mode>
181
+ | |--# If first then rest:
182
+ | | |--<->
183
+ | | |--<>
184
+ | | |--<-d>
185
+ | | |--# Ignoring:
186
+ | | | |--<debug>
187
+ | |--# Adding in order:
188
+ | | |--<params>
189
+ | | |--<types>
190
+ | |--# NONE:
191
+ | |--# All of:
192
+ | | |--# One of:
193
+ | | | |--<dir>
194
+ | | |--# One of:
195
+ | | | |--<file>
196
+
197
+
198
+ como_rule_2 error: Option combination mismatch!
199
+
200
+ Usage:
201
+ como_rule_2 [--doc] [-f <file>] [--debug] [-m <mode>] [--params <params>+] [-t <types>*] [-d <dir>+] [<args>]
202
+
203
+ --doc Documentation.
204
+ -f File argument.
205
+ --debug Enable debugging.
206
+ -m Mode.
207
+ --params Parameters.
208
+ -t Types.
209
+ -d Directory argument(s).
210
+ <args> Leftovers.
211
+
212
+
213
+ Copyright (c) 2013 by Como Tester
214
+
215
+
216
+ Option Combinations:
217
+ |--# One of:
218
+ | |--# One or more of:
219
+ | | |--<debug>
220
+ | | |--<mode>
221
+ | |--# If first then rest:
222
+ | | |--<->
223
+ | | |--<>
224
+ | | |--<-d>
225
+ | | |--# Ignoring:
226
+ | | | |--<debug>
227
+ | |--# Adding in order:
228
+ | | |--<params>
229
+ | | |--<types>
230
+ | |--# NONE:
231
+ | |--# All of:
232
+ | | |--# One of:
233
+ | | | |--<dir>
234
+ | | |--# One of:
235
+ | | | |--<file>
236
+
237
+
238
+ como_rule_2 error: Option combination mismatch!
239
+
240
+ Usage:
241
+ como_rule_2 [--doc] [-f <file>] [--debug] [-m <mode>] [--params <params>+] [-t <types>*] [-d <dir>+] [<args>]
242
+
243
+ --doc Documentation.
244
+ -f File argument.
245
+ --debug Enable debugging.
246
+ -m Mode.
247
+ --params Parameters.
248
+ -t Types.
249
+ -d Directory argument(s).
250
+ <args> Leftovers.
251
+
252
+
253
+ Copyright (c) 2013 by Como Tester
254
+
255
+
256
+ Option Combinations:
257
+ |--# One of:
258
+ | |--# One or more of:
259
+ | | |--<debug>
260
+ | | |--<mode>
261
+ | |--# If first then rest:
262
+ | | |--<->
263
+ | | |--<>
264
+ | | |--<-d>
265
+ | | |--# Ignoring:
266
+ | | | |--<debug>
267
+ | |--# Adding in order:
268
+ | | |--<params>
269
+ | | |--<types>
270
+ | |--# NONE:
271
+ | |--# All of:
272
+ | | |--# One of:
273
+ | | | |--<dir>
274
+ | | |--# One of:
275
+ | | | |--<file>
276
+
277
+
278
+ como_rule_2 error: Option combination mismatch!
279
+
280
+ Usage:
281
+ como_rule_2 [--doc] [-f <file>] [--debug] [-m <mode>] [--params <params>+] [-t <types>*] [-d <dir>+] [<args>]
282
+
283
+ --doc Documentation.
284
+ -f File argument.
285
+ --debug Enable debugging.
286
+ -m Mode.
287
+ --params Parameters.
288
+ -t Types.
289
+ -d Directory argument(s).
290
+ <args> Leftovers.
291
+
292
+
293
+ Copyright (c) 2013 by Como Tester
294
+
295
+
296
+ Option Combinations:
297
+ |--# One of:
298
+ | |--# One or more of:
299
+ | | |--<debug>
300
+ | | |--<mode>
301
+ | |--# If first then rest:
302
+ | | |--<->
303
+ | | |--<>
304
+ | | |--<-d>
305
+ | | |--# Ignoring:
306
+ | | | |--<debug>
307
+ | |--# Adding in order:
308
+ | | |--<params>
309
+ | | |--<types>
310
+ | |--# NONE:
311
+ | |--# All of:
312
+ | | |--# One of:
313
+ | | | |--<dir>
314
+ | | |--# One of:
315
+ | | | |--<file>
316
+
317
+
318
+ como_rule_2 error: Option combination mismatch!
319
+
320
+ Usage:
321
+ como_rule_2 [--doc] [-f <file>] [--debug] [-m <mode>] [--params <params>+] [-t <types>*] [-d <dir>+] [<args>]
322
+
323
+ --doc Documentation.
324
+ -f File argument.
325
+ --debug Enable debugging.
326
+ -m Mode.
327
+ --params Parameters.
328
+ -t Types.
329
+ -d Directory argument(s).
330
+ <args> Leftovers.
331
+
332
+
333
+ Copyright (c) 2013 by Como Tester
334
+
335
+
336
+ Option Combinations:
337
+ |--# One of:
338
+ | |--# One or more of:
339
+ | | |--<debug>
340
+ | | |--<mode>
341
+ | |--# If first then rest:
342
+ | | |--<->
343
+ | | |--<>
344
+ | | |--<-d>
345
+ | | |--# Ignoring:
346
+ | | | |--<debug>
347
+ | |--# Adding in order:
348
+ | | |--<params>
349
+ | | |--<types>
350
+ | |--# NONE:
351
+ | |--# All of:
352
+ | | |--# One of:
353
+ | | | |--<dir>
354
+ | | |--# One of:
355
+ | | | |--<file>
356
+
357
+
358
+ como_rule_2 error: Option combination mismatch!
359
+
360
+ Usage:
361
+ como_rule_2 [--doc] [-f <file>] [--debug] [-m <mode>] [--params <params>+] [-t <types>*] [-d <dir>+] [<args>]
362
+
363
+ --doc Documentation.
364
+ -f File argument.
365
+ --debug Enable debugging.
366
+ -m Mode.
367
+ --params Parameters.
368
+ -t Types.
369
+ -d Directory argument(s).
370
+ <args> Leftovers.
371
+
372
+
373
+ Copyright (c) 2013 by Como Tester
374
+
375
+
376
+ Option Combinations:
377
+ |--# One of:
378
+ | |--# One or more of:
379
+ | | |--<debug>
380
+ | | |--<mode>
381
+ | |--# If first then rest:
382
+ | | |--<->
383
+ | | |--<>
384
+ | | |--<-d>
385
+ | | |--# Ignoring:
386
+ | | | |--<debug>
387
+ | |--# Adding in order:
388
+ | | |--<params>
389
+ | | |--<types>
390
+ | |--# NONE:
391
+ | |--# All of:
392
+ | | |--# One of:
393
+ | | | |--<dir>
394
+ | | |--# One of:
395
+ | | | |--<file>
396
+
397
+
398
+ como_rule_2 error: Option combination mismatch!
399
+
400
+ Usage:
401
+ como_rule_2 [--doc] [-f <file>] [--debug] [-m <mode>] [--params <params>+] [-t <types>*] [-d <dir>+] [<args>]
402
+
403
+ --doc Documentation.
404
+ -f File argument.
405
+ --debug Enable debugging.
406
+ -m Mode.
407
+ --params Parameters.
408
+ -t Types.
409
+ -d Directory argument(s).
410
+ <args> Leftovers.
411
+
412
+
413
+ Copyright (c) 2013 by Como Tester
414
+
415
+
416
+ Option Combinations:
417
+ |--# One of:
418
+ | |--# One or more of:
419
+ | | |--<debug>
420
+ | | |--<mode>
421
+ | |--# If first then rest:
422
+ | | |--<->
423
+ | | |--<>
424
+ | | |--<-d>
425
+ | | |--# Ignoring:
426
+ | | | |--<debug>
427
+ | |--# Adding in order:
428
+ | | |--<params>
429
+ | | |--<types>
430
+ | |--# NONE:
431
+ | |--# All of:
432
+ | | |--# One of:
433
+ | | | |--<dir>
434
+ | | |--# One of:
435
+ | | | |--<file>
436
+
437
+
438
+ como_rule_2 error: Option combination mismatch!
439
+
440
+ Usage:
441
+ como_rule_2 [--doc] [-f <file>] [--debug] [-m <mode>] [--params <params>+] [-t <types>*] [-d <dir>+] [<args>]
442
+
443
+ --doc Documentation.
444
+ -f File argument.
445
+ --debug Enable debugging.
446
+ -m Mode.
447
+ --params Parameters.
448
+ -t Types.
449
+ -d Directory argument(s).
450
+ <args> Leftovers.
451
+
452
+
453
+ Copyright (c) 2013 by Como Tester
454
+
455
+
456
+ Option Combinations:
457
+ |--# One of:
458
+ | |--# One or more of:
459
+ | | |--<debug>
460
+ | | |--<mode>
461
+ | |--# If first then rest:
462
+ | | |--<->
463
+ | | |--<>
464
+ | | |--<-d>
465
+ | | |--# Ignoring:
466
+ | | | |--<debug>
467
+ | |--# Adding in order:
468
+ | | |--<params>
469
+ | | |--<types>
470
+ | |--# NONE:
471
+ | |--# All of:
472
+ | | |--# One of:
473
+ | | | |--<dir>
474
+ | | |--# One of:
475
+ | | | |--<file>
476
+