como 0.0.2 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
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,534 @@
1
+
2
+ como_subcmd_config error: Option combination mismatch!
3
+
4
+ Addition heading info.
5
+
6
+ Usage:
7
+ como_subcmd_config [-p <password>] [-u <username>+] <<subcommand>>
8
+
9
+ Options:
10
+ -p User password.
11
+ -u Username(s).
12
+
13
+ Subcommands:
14
+ add Add file to repo.
15
+ rm Remove file from repo.
16
+ commit Commit (pending) changes to repo.
17
+
18
+
19
+ Copyright (c) 2013 by Como Tester
20
+
21
+ Addition footer info.
22
+
23
+ Option Combinations:
24
+ |--# One or more of:
25
+ | |--<password>
26
+ | |--<username>
27
+
28
+ Options for: como_subcmd_config
29
+ Given "help": false
30
+ Given "password": false
31
+ Given "username": false
32
+ Given "terminator": false
33
+ Given "add": false
34
+ Given "rm": false
35
+ Given "commit": false
36
+ Options for: como_subcmd_config
37
+ Given "help": false
38
+ Given "password": true
39
+ Given "username": false
40
+ Given "terminator": false
41
+ Given "add": false
42
+ Given "rm": false
43
+ Given "commit": false
44
+ Value "password": passwd
45
+
46
+ como_subcmd_config error: Option "-f" missing for "como_subcmd_config add"...
47
+
48
+ Addition heading info.
49
+
50
+ Subcommand "add" usage:
51
+ como_subcmd_config add [-fo] [-u <username>] -f <file>
52
+
53
+ -fo Force operation.
54
+ -u Username.
55
+ -f File.
56
+
57
+ Addition footer info.
58
+
59
+ Option Combinations:
60
+ |--# One of:
61
+ | |--<file>
62
+ | |--<username>
63
+ | |--# Not:
64
+ | | |--<-fo>
65
+
66
+
67
+ como_subcmd_config error: No argument given for "-f"...
68
+
69
+ Addition heading info.
70
+
71
+ Subcommand "add" usage:
72
+ como_subcmd_config add [-fo] [-u <username>] -f <file>
73
+
74
+ -fo Force operation.
75
+ -u Username.
76
+ -f File.
77
+
78
+ Addition footer info.
79
+
80
+ Option Combinations:
81
+ |--# One of:
82
+ | |--<file>
83
+ | |--<username>
84
+ | |--# Not:
85
+ | | |--<-fo>
86
+
87
+
88
+ como_subcmd_config error: Option combination mismatch!
89
+
90
+ Addition heading info.
91
+
92
+ Usage:
93
+ como_subcmd_config [-p <password>] [-u <username>+] <<subcommand>>
94
+
95
+ Options:
96
+ -p User password.
97
+ -u Username(s).
98
+
99
+ Subcommands:
100
+ add Add file to repo.
101
+ rm Remove file from repo.
102
+ commit Commit (pending) changes to repo.
103
+
104
+
105
+ Copyright (c) 2013 by Como Tester
106
+
107
+ Addition footer info.
108
+
109
+ Option Combinations:
110
+ |--# One or more of:
111
+ | |--<password>
112
+ | |--<username>
113
+
114
+
115
+ como_subcmd_config error: Option combination mismatch!
116
+
117
+ Addition heading info.
118
+
119
+ Subcommand "add" usage:
120
+ como_subcmd_config add [-fo] [-u <username>] -f <file>
121
+
122
+ -fo Force operation.
123
+ -u Username.
124
+ -f File.
125
+
126
+ Addition footer info.
127
+
128
+ Option Combinations:
129
+ |--# One of:
130
+ | |--<file>
131
+ | |--<username>
132
+ | |--# Not:
133
+ | | |--<-fo>
134
+
135
+
136
+ como_subcmd_config error: Option combination mismatch!
137
+
138
+ Addition heading info.
139
+
140
+ Subcommand "add" usage:
141
+ como_subcmd_config add [-fo] [-u <username>] -f <file>
142
+
143
+ -fo Force operation.
144
+ -u Username.
145
+ -f File.
146
+
147
+ Addition footer info.
148
+
149
+ Option Combinations:
150
+ |--# One of:
151
+ | |--<file>
152
+ | |--<username>
153
+ | |--# Not:
154
+ | | |--<-fo>
155
+
156
+
157
+ como_subcmd_config error: No default option specified for "-f"...
158
+
159
+ Addition heading info.
160
+
161
+ Usage:
162
+ como_subcmd_config [-p <password>] [-u <username>+] <<subcommand>>
163
+
164
+ Options:
165
+ -p User password.
166
+ -u Username(s).
167
+
168
+ Subcommands:
169
+ add Add file to repo.
170
+ rm Remove file from repo.
171
+ commit Commit (pending) changes to repo.
172
+
173
+
174
+ Copyright (c) 2013 by Como Tester
175
+
176
+ Addition footer info.
177
+ Options for: como_subcmd_config
178
+ Given "help": false
179
+ Given "password": true
180
+ Given "username": true
181
+ Given "terminator": false
182
+ Given "add": false
183
+ Given "rm": false
184
+ Given "commit": false
185
+ Value "password": pass
186
+ Value "username": ["name1", "add"]
187
+
188
+ como_subcmd_config error: Option combination mismatch!
189
+
190
+ Addition heading info.
191
+
192
+ Subcommand "add" usage:
193
+ como_subcmd_config add [-fo] [-u <username>] -f <file>
194
+
195
+ -fo Force operation.
196
+ -u Username.
197
+ -f File.
198
+
199
+ Addition footer info.
200
+
201
+ Option Combinations:
202
+ |--# One of:
203
+ | |--<file>
204
+ | |--<username>
205
+ | |--# Not:
206
+ | | |--<-fo>
207
+
208
+
209
+ como_subcmd_config error: Option combination mismatch!
210
+
211
+ Addition heading info.
212
+
213
+ Subcommand "add" usage:
214
+ como_subcmd_config add [-fo] [-u <username>] -f <file>
215
+
216
+ -fo Force operation.
217
+ -u Username.
218
+ -f File.
219
+
220
+ Addition footer info.
221
+
222
+ Option Combinations:
223
+ |--# One of:
224
+ | |--<file>
225
+ | |--<username>
226
+ | |--# Not:
227
+ | | |--<-fo>
228
+
229
+
230
+ como_subcmd_config error: Option combination mismatch!
231
+
232
+ Addition heading info.
233
+
234
+ Subcommand "add" usage:
235
+ como_subcmd_config add [-fo] [-u <username>] -f <file>
236
+
237
+ -fo Force operation.
238
+ -u Username.
239
+ -f File.
240
+
241
+ Addition footer info.
242
+
243
+ Option Combinations:
244
+ |--# One of:
245
+ | |--<file>
246
+ | |--<username>
247
+ | |--# Not:
248
+ | | |--<-fo>
249
+
250
+ Options for: como_subcmd_config
251
+ Given "help": false
252
+ Given "password": true
253
+ Given "username": false
254
+ Given "terminator": false
255
+ Given "add": true
256
+ Given "rm": false
257
+ Given "commit": false
258
+ Value "password": pass
259
+ Value "add": false
260
+ Options for: add
261
+ Given "help": false
262
+ Given "force": true
263
+ Given "username": false
264
+ Given "file": true
265
+ Value "force": true
266
+ Value "file": file
267
+
268
+ Addition heading info.
269
+
270
+ Subcommand "add" usage:
271
+ como_subcmd_config add [-fo] [-u <username>] -f <file>
272
+
273
+ -fo Force operation.
274
+ -u Username.
275
+ -f File.
276
+
277
+ Addition footer info.
278
+
279
+ Option Combinations:
280
+ |--# One of:
281
+ | |--<file>
282
+ | |--<username>
283
+ | |--# Not:
284
+ | | |--<-fo>
285
+
286
+
287
+ como_subcmd_config error: No default option specified for "rm"...
288
+
289
+ Addition heading info.
290
+
291
+ Subcommand "add" usage:
292
+ como_subcmd_config add [-fo] [-u <username>] -f <file>
293
+
294
+ -fo Force operation.
295
+ -u Username.
296
+ -f File.
297
+
298
+ Addition footer info.
299
+
300
+ Option Combinations:
301
+ |--# One of:
302
+ | |--<file>
303
+ | |--<username>
304
+ | |--# Not:
305
+ | | |--<-fo>
306
+
307
+
308
+ como_subcmd_config error: No default option specified for "commit"...
309
+
310
+ Addition heading info.
311
+
312
+ Subcommand "add" usage:
313
+ como_subcmd_config add [-fo] [-u <username>] -f <file>
314
+
315
+ -fo Force operation.
316
+ -u Username.
317
+ -f File.
318
+
319
+ Addition footer info.
320
+
321
+ Option Combinations:
322
+ |--# One of:
323
+ | |--<file>
324
+ | |--<username>
325
+ | |--# Not:
326
+ | | |--<-fo>
327
+
328
+
329
+ como_subcmd_config error: No default option specified for "commit"...
330
+
331
+ Addition heading info.
332
+
333
+ Subcommand "add" usage:
334
+ como_subcmd_config add [-fo] [-u <username>] -f <file>
335
+
336
+ -fo Force operation.
337
+ -u Username.
338
+ -f File.
339
+
340
+ Addition footer info.
341
+
342
+ Option Combinations:
343
+ |--# One of:
344
+ | |--<file>
345
+ | |--<username>
346
+ | |--# Not:
347
+ | | |--<-fo>
348
+
349
+ Options for: como_subcmd_config
350
+ Given "help": false
351
+ Given "password": true
352
+ Given "username": false
353
+ Given "terminator": false
354
+ Given "add": false
355
+ Given "rm": true
356
+ Given "commit": false
357
+ Value "password": pass
358
+ Value "rm": false
359
+ Options for: rm
360
+ Given "help": false
361
+ Given "force": false
362
+ Given "file": false
363
+
364
+ como_subcmd_config error: No default option specified for "-h"...
365
+
366
+ Subcommand "rm" usage:
367
+ como_subcmd_config rm [-hm] [-fo] [-f <file>]
368
+
369
+ -hm Help for me.
370
+ -fo Force operation.
371
+ -f File.
372
+
373
+ Options for: como_subcmd_config
374
+ Given "help": false
375
+ Given "password": true
376
+ Given "username": false
377
+ Given "terminator": false
378
+ Given "add": false
379
+ Given "rm": true
380
+ Given "commit": false
381
+ Value "password": pass
382
+ Value "rm": false
383
+ Options for: rm
384
+ Given "help": false
385
+ Given "force": false
386
+ Given "file": false
387
+
388
+ como_subcmd_config error: No default option specified for "commit"...
389
+
390
+ Subcommand "rm" usage:
391
+ como_subcmd_config rm [-hm] [-fo] [-f <file>]
392
+
393
+ -hm Help for me.
394
+ -fo Force operation.
395
+ -f File.
396
+
397
+ Options for: como_subcmd_config
398
+ Given "help": false
399
+ Given "password": true
400
+ Given "username": false
401
+ Given "terminator": false
402
+ Given "add": false
403
+ Given "rm": true
404
+ Given "commit": false
405
+ Value "password": pass
406
+ Value "rm": false
407
+ Options for: rm
408
+ Given "help": false
409
+ Given "force": false
410
+ Given "file": false
411
+ Options for: como_subcmd_config
412
+ Given "help": false
413
+ Given "password": true
414
+ Given "username": false
415
+ Given "terminator": false
416
+ Given "add": false
417
+ Given "rm": true
418
+ Given "commit": false
419
+ Value "password": pass
420
+ Value "rm": false
421
+ Options for: rm
422
+ Given "help": false
423
+ Given "force": false
424
+ Given "file": true
425
+ Value "file": commit
426
+ Options for: como_subcmd_config
427
+ Given "help": false
428
+ Given "password": true
429
+ Given "username": false
430
+ Given "terminator": false
431
+ Given "add": false
432
+ Given "rm": false
433
+ Given "commit": true
434
+ Value "password": pass
435
+ Value "commit": false
436
+ Options for: commit
437
+ Given "help": false
438
+ Given "quiet": false
439
+ Given "username": false
440
+ Given "<default>": false
441
+ Options for: como_subcmd_config
442
+ Given "help": false
443
+ Given "password": true
444
+ Given "username": false
445
+ Given "terminator": false
446
+ Given "add": false
447
+ Given "rm": false
448
+ Given "commit": true
449
+ Value "password": pass
450
+ Value "commit": false
451
+ Options for: commit
452
+ Given "help": false
453
+ Given "quiet": false
454
+ Given "username": false
455
+ Given "<default>": true
456
+ Value "<default>": ["dii", "duu"]
457
+ Options for: como_subcmd_config
458
+ Given "help": false
459
+ Given "password": true
460
+ Given "username": false
461
+ Given "terminator": false
462
+ Given "add": false
463
+ Given "rm": false
464
+ Given "commit": true
465
+ Value "password": pass
466
+ Value "commit": false
467
+ Options for: commit
468
+ Given "help": false
469
+ Given "quiet": false
470
+ Given "username": true
471
+ Given "<default>": true
472
+ Value "username": user1
473
+ Value "<default>": ["dii", "duu"]
474
+
475
+ Addition heading info.
476
+
477
+ Subcommand "commit" usage:
478
+ como_subcmd_config commit [-q] [-u <username>] [<args>]
479
+
480
+ -q Quiet operation.
481
+ -u Username.
482
+ <args> File(s) to commit.
483
+
484
+ Addition footer info.
485
+
486
+ Addition heading info.
487
+
488
+ Subcommand "commit" usage:
489
+ como_subcmd_config commit [-q] [-u <username>] [<args>]
490
+
491
+ -q Quiet operation.
492
+ -u Username.
493
+ <args> File(s) to commit.
494
+
495
+ Addition footer info.
496
+
497
+ Addition heading info.
498
+
499
+ Subcommand "commit" usage:
500
+ como_subcmd_config commit [-q] [-u <username>] [<args>]
501
+
502
+ -q Quiet operation.
503
+ -u Username.
504
+ <args> File(s) to commit.
505
+
506
+ Addition footer info.
507
+
508
+ Addition heading info.
509
+
510
+ Subcommand "commit" usage:
511
+ como_subcmd_config commit [-q] [-u <username>] [<args>]
512
+
513
+ -q Quiet operation.
514
+ -u Username.
515
+ <args> File(s) to commit.
516
+
517
+ Addition footer info.
518
+ Options for: como_subcmd_config
519
+ Given "help": false
520
+ Given "password": true
521
+ Given "username": false
522
+ Given "terminator": false
523
+ Given "add": false
524
+ Given "rm": false
525
+ Given "commit": true
526
+ Value "password": foo
527
+ Value "commit": false
528
+ Options for: commit
529
+ Given "help": false
530
+ Given "quiet": false
531
+ Given "username": false
532
+ Given "<default>": true
533
+ Value "<default>": ["foo"]
534
+ External: ["external", "arguments"]