como 0.1.7 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +5 -0
- data/README.rdoc +8 -0
- data/doc/Como/ArgsParseState.html +50 -50
- data/doc/Como/ComoCommon.html +17 -17
- data/doc/Como/MainOpt.html +46 -46
- data/doc/Como/Opt/ErrorWithData.html +10 -10
- data/doc/Como/Opt/InvalidOption.html +1 -1
- data/doc/Como/Opt/MissingArgument.html +1 -1
- data/doc/Como/Opt.html +883 -1175
- data/doc/Como/RuleCheck.html +86 -86
- data/doc/Como/RuleDisplay.html +79 -79
- data/doc/Como/Spec.html +357 -199
- data/doc/Como.html +82 -13
- data/doc/_index.html +1 -1
- data/doc/file.CHANGELOG.html +9 -2
- data/doc/file.README.html +8 -1
- data/doc/index.html +8 -1
- data/doc/method_list.html +62 -80
- data/doc/top-level-namespace.html +1 -1
- data/lib/como.rb +144 -93
- data/lib/version.rb +1 -1
- data/test/como_type_prim +27 -0
- data/test/golden/compatible.txt +11 -11
- data/test/golden/config.txt +5 -5
- data/test/golden/options.txt +11 -11
- data/test/golden/rule_1.txt +13 -13
- data/test/golden/rule_2.txt +13 -13
- data/test/golden/subcmd_config.txt +2 -2
- data/test/golden/type_prim.txt +465 -0
- data/test/test_como.rb +8 -3
- data/test/test_type_prim +29 -0
- metadata +5 -2
data/doc/Como.html
CHANGED
@@ -416,11 +416,10 @@ referred with “:default” or “nil”.</p>
|
|
416
416
|
</dd><dt>:exclusive
|
417
417
|
<dd>
|
418
418
|
<p>Option that does not co-exist with other options. :exclusive can have
|
419
|
-
arguments as with :opt_any
|
419
|
+
arguments as with :opt_any.</p>
|
420
420
|
</dd><dt>:silent
|
421
421
|
<dd>
|
422
|
-
<p>
|
423
|
-
option in Usage Help display. In effect a sub-option of :exclusive.</p>
|
422
|
+
<p>Switch option that is not displayed as an option in Usage Help display.</p>
|
424
423
|
</dd></dl>
|
425
424
|
|
426
425
|
<p>Options use typically all the 4 option fields:</p>
|
@@ -443,6 +442,76 @@ can be used to terminate the argument list. For example:</p>
|
|
443
442
|
|
444
443
|
<pre class="code ruby"><code class="ruby">[ :silent, "terminator", "-", "The terminator." ],</code></pre>
|
445
444
|
|
445
|
+
<h2 id="label-Option+type+primitives">Option type primitives</h2>
|
446
|
+
|
447
|
+
<p>Como converts option types into option type primitives. Option types are
|
448
|
+
not completely orthogonal, but primitives are.</p>
|
449
|
+
|
450
|
+
<p>Primitives:</p>
|
451
|
+
<dl class="rdoc-list label-list"><dt>:none
|
452
|
+
<dd>
|
453
|
+
<p>No arguments (i.e. switch).</p>
|
454
|
+
</dd><dt>:one
|
455
|
+
<dd>
|
456
|
+
<p>One argument.</p>
|
457
|
+
</dd><dt>:many
|
458
|
+
<dd>
|
459
|
+
<p>More than one argument.</p>
|
460
|
+
</dd><dt>:opt
|
461
|
+
<dd>
|
462
|
+
<p>Optional argument(s).</p>
|
463
|
+
</dd><dt>:default
|
464
|
+
<dd>
|
465
|
+
<p>Default option.</p>
|
466
|
+
</dd><dt>:mutex
|
467
|
+
<dd>
|
468
|
+
<p>Mutually exclusive option.</p>
|
469
|
+
</dd><dt>:hidden
|
470
|
+
<dd>
|
471
|
+
<p>Hidden option (no usage doc).</p>
|
472
|
+
</dd></dl>
|
473
|
+
|
474
|
+
<p>Types to primitives mapping:</p>
|
475
|
+
<dl class="rdoc-list label-list"><dt>:switch
|
476
|
+
<dd>
|
477
|
+
<p>:none, :opt</p>
|
478
|
+
</dd><dt>:single
|
479
|
+
<dd>
|
480
|
+
<p>:one</p>
|
481
|
+
</dd><dt>:multi
|
482
|
+
<dd>
|
483
|
+
<p>:one, :many</p>
|
484
|
+
</dd><dt>:opt_single
|
485
|
+
<dd>
|
486
|
+
<p>:one, :opt</p>
|
487
|
+
</dd><dt>:opt_multi
|
488
|
+
<dd>
|
489
|
+
<p>:one, :many, :opt</p>
|
490
|
+
</dd><dt>:opt_any
|
491
|
+
<dd>
|
492
|
+
<p>:none, :one, :many, :opt</p>
|
493
|
+
</dd><dt>:default
|
494
|
+
<dd>
|
495
|
+
<p>:none, :one, :many, :opt, :default</p>
|
496
|
+
</dd><dt>:exclusive
|
497
|
+
<dd>
|
498
|
+
<p>:none, :one, :many, :opt, :mutex</p>
|
499
|
+
</dd><dt>:silent
|
500
|
+
<dd>
|
501
|
+
<p>:none, :opt, :hidden</p>
|
502
|
+
</dd></dl>
|
503
|
+
|
504
|
+
<p>Primitives can be used in place of types if exotic options are needed.
|
505
|
+
Instead of a single Symbol an Array of primitives are given for option
|
506
|
+
type. Order of primitives is not significant.</p>
|
507
|
+
|
508
|
+
<p>For example:</p>
|
509
|
+
|
510
|
+
<pre class="code ruby"><code class="ruby">[ [ :none, :hidden, :opt ], "terminator", "-", "The terminator." ],</code></pre>
|
511
|
+
|
512
|
+
<p>Como does not check the primitive combinations, thus care and consideration
|
513
|
+
should be applied.</p>
|
514
|
+
|
446
515
|
<h2 id="label-Option+specification+method+configuration">Option specification method configuration</h2>
|
447
516
|
|
448
517
|
<p>Option behavior can be controlled with several configuration options.</p>
|
@@ -691,7 +760,7 @@ of the internal workings of Como is required though.</p>
|
|
691
760
|
<dt id="VERSION-constant" class="">VERSION =
|
692
761
|
|
693
762
|
</dt>
|
694
|
-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>0.
|
763
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>0.2.0</span><span class='tstring_end'>"</span></span></pre></dd>
|
695
764
|
|
696
765
|
</dl>
|
697
766
|
|
@@ -815,12 +884,12 @@ of the internal workings of Como is required though.</p>
|
|
815
884
|
<pre class="lines">
|
816
885
|
|
817
886
|
|
818
|
-
|
819
|
-
|
820
|
-
|
887
|
+
554
|
888
|
+
555
|
889
|
+
556</pre>
|
821
890
|
</td>
|
822
891
|
<td>
|
823
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
892
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 554</span>
|
824
893
|
|
825
894
|
<span class='kw'>def</span> <span class='const'>Como</span><span class='period'>.</span><span class='id identifier rubyid_postHook'>postHook</span><span class='lparen'>(</span> <span class='op'>&</span><span class='id identifier rubyid_code'>code</span> <span class='rparen'>)</span>
|
826
895
|
<span class='const'>ComoCommon</span><span class='period'>.</span><span class='id identifier rubyid_setHook'>setHook</span><span class='lparen'>(</span> <span class='symbol'>:postHook</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_code'>code</span> <span class='rparen'>)</span>
|
@@ -856,12 +925,12 @@ of the internal workings of Como is required though.</p>
|
|
856
925
|
<pre class="lines">
|
857
926
|
|
858
927
|
|
859
|
-
|
860
|
-
|
861
|
-
|
928
|
+
548
|
929
|
+
549
|
930
|
+
550</pre>
|
862
931
|
</td>
|
863
932
|
<td>
|
864
|
-
<pre class="code"><span class="info file"># File 'lib/como.rb', line
|
933
|
+
<pre class="code"><span class="info file"># File 'lib/como.rb', line 548</span>
|
865
934
|
|
866
935
|
<span class='kw'>def</span> <span class='const'>Como</span><span class='period'>.</span><span class='id identifier rubyid_preHook'>preHook</span><span class='lparen'>(</span> <span class='op'>&</span><span class='id identifier rubyid_code'>code</span> <span class='rparen'>)</span>
|
867
936
|
<span class='const'>ComoCommon</span><span class='period'>.</span><span class='id identifier rubyid_setHook'>setHook</span><span class='lparen'>(</span> <span class='symbol'>:preHook</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_code'>code</span> <span class='rparen'>)</span>
|
@@ -906,7 +975,7 @@ of the internal workings of Como is required though.</p>
|
|
906
975
|
</div>
|
907
976
|
|
908
977
|
<div id="footer">
|
909
|
-
Generated on
|
978
|
+
Generated on Fri Jul 15 20:24:23 2016 by
|
910
979
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
911
980
|
0.8.7.6 (ruby-2.3.1).
|
912
981
|
</div>
|
data/doc/_index.html
CHANGED
@@ -233,7 +233,7 @@
|
|
233
233
|
</div>
|
234
234
|
|
235
235
|
<div id="footer">
|
236
|
-
Generated on
|
236
|
+
Generated on Fri Jul 15 20:24:22 2016 by
|
237
237
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
238
238
|
0.8.7.6 (ruby-2.3.1).
|
239
239
|
</div>
|
data/doc/file.CHANGELOG.html
CHANGED
@@ -63,7 +63,14 @@
|
|
63
63
|
|
64
64
|
<div id="content"><div id='filecontents'>
|
65
65
|
<h1 id="label-Version+history">Version history</h1>
|
66
|
-
<dl class="rdoc-list label-list"><dt>0.
|
66
|
+
<dl class="rdoc-list label-list"><dt>0.2.0
|
67
|
+
<dd>
|
68
|
+
<p>Support for option type definition through primitives. Almost fully
|
69
|
+
backwards compatible with previous versions.</p>
|
70
|
+
</dd><dt>0.1.7
|
71
|
+
<dd>
|
72
|
+
<p>Added to_hopt method to Opt.</p>
|
73
|
+
</dd><dt>0.1.6
|
67
74
|
<dd>
|
68
75
|
<p>Added to_hash method to Opt.</p>
|
69
76
|
</dd><dt>0.1.5
|
@@ -115,7 +122,7 @@ settings, i.e. the Opt#params method added.</p>
|
|
115
122
|
</div></div>
|
116
123
|
|
117
124
|
<div id="footer">
|
118
|
-
Generated on
|
125
|
+
Generated on Fri Jul 15 20:24:22 2016 by
|
119
126
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
120
127
|
0.8.7.6 (ruby-2.3.1).
|
121
128
|
</div>
|
data/doc/file.README.html
CHANGED
@@ -79,13 +79,20 @@ checking for option combinations using a simple DSL.</p>
|
|
79
79
|
files (in “test” directory) can be used as examples on how the features are
|
80
80
|
used.</p>
|
81
81
|
|
82
|
+
<h2 id="label-Other+versions">Other versions</h2>
|
83
|
+
|
84
|
+
<p>There is a C language version of Como in <a
|
85
|
+
href="https://github.com/tisannai/como">github.com/tisannai/como</a>.
|
86
|
+
Feature wise it is similar to Ruby Como, but a subset. Usage is also fairly
|
87
|
+
similar, but (obviously) not identical.</p>
|
88
|
+
|
82
89
|
<h2 id="label-Changes">Changes</h2>
|
83
90
|
|
84
91
|
<p>See CHANGELOG.rdoc.</p>
|
85
92
|
</div></div>
|
86
93
|
|
87
94
|
<div id="footer">
|
88
|
-
Generated on
|
95
|
+
Generated on Fri Jul 15 20:24:22 2016 by
|
89
96
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
90
97
|
0.8.7.6 (ruby-2.3.1).
|
91
98
|
</div>
|
data/doc/index.html
CHANGED
@@ -79,13 +79,20 @@ checking for option combinations using a simple DSL.</p>
|
|
79
79
|
files (in “test” directory) can be used as examples on how the features are
|
80
80
|
used.</p>
|
81
81
|
|
82
|
+
<h2 id="label-Other+versions">Other versions</h2>
|
83
|
+
|
84
|
+
<p>There is a C language version of Como in <a
|
85
|
+
href="https://github.com/tisannai/como">github.com/tisannai/como</a>.
|
86
|
+
Feature wise it is similar to Ruby Como, but a subset. Usage is also fairly
|
87
|
+
similar, but (obviously) not identical.</p>
|
88
|
+
|
82
89
|
<h2 id="label-Changes">Changes</h2>
|
83
90
|
|
84
91
|
<p>See CHANGELOG.rdoc.</p>
|
85
92
|
</div></div>
|
86
93
|
|
87
94
|
<div id="footer">
|
88
|
-
Generated on
|
95
|
+
Generated on Fri Jul 15 20:24:22 2016 by
|
89
96
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
90
97
|
0.8.7.6 (ruby-2.3.1).
|
91
98
|
</div>
|
data/doc/method_list.html
CHANGED
@@ -454,89 +454,77 @@
|
|
454
454
|
|
455
455
|
|
456
456
|
<li class="r2 ">
|
457
|
-
<span class='object_link'><a href="Como/Opt.html#
|
457
|
+
<span class='object_link'><a href="Como/Opt.html#hasSwitchStyleDoc-instance_method" title="Como::Opt#hasSwitchStyleDoc (method)">#hasSwitchStyleDoc</a></span>
|
458
458
|
<small>Como::Opt</small>
|
459
459
|
</li>
|
460
460
|
|
461
461
|
|
462
462
|
<li class="r1 ">
|
463
|
-
<span class='object_link'><a href="Como/Opt.html#hasMany-instance_method" title="Como::Opt#hasMany (method)">#hasMany</a></span>
|
464
|
-
<small>Como::Opt</small>
|
465
|
-
</li>
|
466
|
-
|
467
|
-
|
468
|
-
<li class="r2 ">
|
469
463
|
<span class='object_link'><a href="Como/RuleCheck.html#incr-instance_method" title="Como::RuleCheck#incr (method)">#incr</a></span>
|
470
464
|
<small>Como::RuleCheck</small>
|
471
465
|
</li>
|
472
466
|
|
473
467
|
|
474
|
-
<li class="
|
468
|
+
<li class="r2 ">
|
475
469
|
<span class='object_link'><a href="Como/RuleDisplay.html#incr-instance_method" title="Como::RuleDisplay#incr (method)">#incr</a></span>
|
476
470
|
<small>Como::RuleDisplay</small>
|
477
471
|
</li>
|
478
472
|
|
479
473
|
|
480
|
-
<li class="
|
474
|
+
<li class="r1 ">
|
481
475
|
<span class='object_link'><a href="Como/Spec.html#initialize-instance_method" title="Como::Spec#initialize (method)">#initialize</a></span>
|
482
476
|
<small>Como::Spec</small>
|
483
477
|
</li>
|
484
478
|
|
485
479
|
|
486
|
-
<li class="
|
480
|
+
<li class="r2 ">
|
487
481
|
<span class='object_link'><a href="Como/Opt/ErrorWithData.html#initialize-instance_method" title="Como::Opt::ErrorWithData#initialize (method)">#initialize</a></span>
|
488
482
|
<small>Como::Opt::ErrorWithData</small>
|
489
483
|
</li>
|
490
484
|
|
491
485
|
|
492
|
-
<li class="
|
486
|
+
<li class="r1 ">
|
493
487
|
<span class='object_link'><a href="Como/Opt.html#initialize-instance_method" title="Como::Opt#initialize (method)">#initialize</a></span>
|
494
488
|
<small>Como::Opt</small>
|
495
489
|
</li>
|
496
490
|
|
497
491
|
|
498
|
-
<li class="
|
492
|
+
<li class="r2 ">
|
499
493
|
<span class='object_link'><a href="Como/MainOpt.html#initialize-instance_method" title="Como::MainOpt#initialize (method)">#initialize</a></span>
|
500
494
|
<small>Como::MainOpt</small>
|
501
495
|
</li>
|
502
496
|
|
503
497
|
|
504
|
-
<li class="
|
498
|
+
<li class="r1 ">
|
505
499
|
<span class='object_link'><a href="Como/ArgsParseState.html#initialize-instance_method" title="Como::ArgsParseState#initialize (method)">#initialize</a></span>
|
506
500
|
<small>Como::ArgsParseState</small>
|
507
501
|
</li>
|
508
502
|
|
509
503
|
|
510
|
-
<li class="
|
504
|
+
<li class="r2 ">
|
511
505
|
<span class='object_link'><a href="Como/RuleCheck.html#initialize-instance_method" title="Como::RuleCheck#initialize (method)">#initialize</a></span>
|
512
506
|
<small>Como::RuleCheck</small>
|
513
507
|
</li>
|
514
508
|
|
515
509
|
|
516
|
-
<li class="
|
510
|
+
<li class="r1 ">
|
517
511
|
<span class='object_link'><a href="Como/RuleDisplay.html#initialize-instance_method" title="Como::RuleDisplay#initialize (method)">#initialize</a></span>
|
518
512
|
<small>Como::RuleDisplay</small>
|
519
513
|
</li>
|
520
514
|
|
521
515
|
|
522
|
-
<li class="
|
516
|
+
<li class="r2 ">
|
523
517
|
<span class='object_link'><a href="Como/RuleCheck.html#inv-instance_method" title="Como::RuleCheck#inv (method)">#inv</a></span>
|
524
518
|
<small>Como::RuleCheck</small>
|
525
519
|
</li>
|
526
520
|
|
527
521
|
|
528
|
-
<li class="
|
522
|
+
<li class="r1 ">
|
529
523
|
<span class='object_link'><a href="Como/RuleDisplay.html#inv-instance_method" title="Como::RuleDisplay#inv (method)">#inv</a></span>
|
530
524
|
<small>Como::RuleDisplay</small>
|
531
525
|
</li>
|
532
526
|
|
533
527
|
|
534
|
-
<li class="r1 ">
|
535
|
-
<span class='object_link'><a href="Como/Opt.html#isExclusive-instance_method" title="Como::Opt#isExclusive (method)">#isExclusive</a></span>
|
536
|
-
<small>Como::Opt</small>
|
537
|
-
</li>
|
538
|
-
|
539
|
-
|
540
528
|
<li class="r2 ">
|
541
529
|
<span class='object_link'><a href="Como/ArgsParseState.html#isOpt-instance_method" title="Como::ArgsParseState#isOpt (method)">#isOpt</a></span>
|
542
530
|
<small>Como::ArgsParseState</small>
|
@@ -549,18 +537,6 @@
|
|
549
537
|
</li>
|
550
538
|
|
551
539
|
|
552
|
-
<li class="r2 ">
|
553
|
-
<span class='object_link'><a href="Como/Opt.html#isRequired-instance_method" title="Como::Opt#isRequired (method)">#isRequired</a></span>
|
554
|
-
<small>Como::Opt</small>
|
555
|
-
</li>
|
556
|
-
|
557
|
-
|
558
|
-
<li class="r1 ">
|
559
|
-
<span class='object_link'><a href="Como/Opt.html#isSwitch-instance_method" title="Como::Opt#isSwitch (method)">#isSwitch</a></span>
|
560
|
-
<small>Como::Opt</small>
|
561
|
-
</li>
|
562
|
-
|
563
|
-
|
564
540
|
<li class="r2 ">
|
565
541
|
<span class='object_link'><a href="Como/ArgsParseState.html#last-instance_method" title="Como::ArgsParseState#last (method)">#last</a></span>
|
566
542
|
<small>Como::ArgsParseState</small>
|
@@ -580,101 +556,113 @@
|
|
580
556
|
|
581
557
|
|
582
558
|
<li class="r1 ">
|
559
|
+
<span class='object_link'><a href="Como/Spec.html#mapTypeToPrims-class_method" title="Como::Spec.mapTypeToPrims (method)">mapTypeToPrims</a></span>
|
560
|
+
<small>Como::Spec</small>
|
561
|
+
</li>
|
562
|
+
|
563
|
+
|
564
|
+
<li class="r2 ">
|
583
565
|
<span class='object_link'><a href="Como/RuleCheck.html#meh-instance_method" title="Como::RuleCheck#meh (method)">#meh</a></span>
|
584
566
|
<small>Como::RuleCheck</small>
|
585
567
|
</li>
|
586
568
|
|
587
569
|
|
588
|
-
<li class="
|
570
|
+
<li class="r1 ">
|
589
571
|
<span class='object_link'><a href="Como/RuleDisplay.html#meh-instance_method" title="Como::RuleDisplay#meh (method)">#meh</a></span>
|
590
572
|
<small>Como::RuleDisplay</small>
|
591
573
|
</li>
|
592
574
|
|
593
575
|
|
594
|
-
<li class="
|
576
|
+
<li class="r2 ">
|
595
577
|
<span class='object_link'><a href="Como/Opt.html#name-instance_method" title="Como::Opt#name (method)">#name</a></span>
|
596
578
|
<small>Como::Opt</small>
|
597
579
|
</li>
|
598
580
|
|
599
581
|
|
600
|
-
<li class="
|
582
|
+
<li class="r1 ">
|
601
583
|
<span class='object_link'><a href="Como/ArgsParseState.html#next-instance_method" title="Como::ArgsParseState#next (method)">#next</a></span>
|
602
584
|
<small>Como::ArgsParseState</small>
|
603
585
|
</li>
|
604
586
|
|
605
587
|
|
606
|
-
<li class="
|
588
|
+
<li class="r2 ">
|
607
589
|
<span class='object_link'><a href="Como/RuleCheck.html#none-instance_method" title="Como::RuleCheck#none (method)">#none</a></span>
|
608
590
|
<small>Como::RuleCheck</small>
|
609
591
|
</li>
|
610
592
|
|
611
593
|
|
612
|
-
<li class="
|
594
|
+
<li class="r1 ">
|
613
595
|
<span class='object_link'><a href="Como/RuleDisplay.html#none-instance_method" title="Como::RuleDisplay#none (method)">#none</a></span>
|
614
596
|
<small>Como::RuleDisplay</small>
|
615
597
|
</li>
|
616
598
|
|
617
599
|
|
618
|
-
<li class="
|
600
|
+
<li class="r2 ">
|
619
601
|
<span class='object_link'><a href="Como/RuleCheck.html#one-instance_method" title="Como::RuleCheck#one (method)">#one</a></span>
|
620
602
|
<small>Como::RuleCheck</small>
|
621
603
|
</li>
|
622
604
|
|
623
605
|
|
624
|
-
<li class="
|
606
|
+
<li class="r1 ">
|
625
607
|
<span class='object_link'><a href="Como/RuleDisplay.html#one-instance_method" title="Como::RuleDisplay#one (method)">#one</a></span>
|
626
608
|
<small>Como::RuleDisplay</small>
|
627
609
|
</li>
|
628
610
|
|
629
611
|
|
630
|
-
<li class="
|
612
|
+
<li class="r2 ">
|
631
613
|
<span class='object_link'><a href="Como/Opt.html#opt-instance_method" title="Como::Opt#opt (method)">#opt</a></span>
|
632
614
|
<small>Como::Opt</small>
|
633
615
|
</li>
|
634
616
|
|
635
617
|
|
636
|
-
<li class="
|
618
|
+
<li class="r1 ">
|
637
619
|
<span class='object_link'><a href="Como/RuleDisplay.html#p-instance_method" title="Como::RuleDisplay#p (method)">#p</a></span>
|
638
620
|
<small>Como::RuleDisplay</small>
|
639
621
|
</li>
|
640
622
|
|
641
623
|
|
642
|
-
<li class="
|
624
|
+
<li class="r2 ">
|
643
625
|
<span class='object_link'><a href="Como/Opt.html#params-instance_method" title="Como::Opt#params (method)">#params</a></span>
|
644
626
|
<small>Como::Opt</small>
|
645
627
|
</li>
|
646
628
|
|
647
629
|
|
648
|
-
<li class="
|
630
|
+
<li class="r1 ">
|
649
631
|
<span class='object_link'><a href="Como/Opt.html#parent-instance_method" title="Como::Opt#parent (method)">#parent</a></span>
|
650
632
|
<small>Como::Opt</small>
|
651
633
|
</li>
|
652
634
|
|
653
635
|
|
654
|
-
<li class="
|
636
|
+
<li class="r2 ">
|
655
637
|
<span class='object_link'><a href="Como/Opt.html#parse-instance_method" title="Como::Opt#parse (method)">#parse</a></span>
|
656
638
|
<small>Como::Opt</small>
|
657
639
|
</li>
|
658
640
|
|
659
641
|
|
660
|
-
<li class="
|
642
|
+
<li class="r1 ">
|
661
643
|
<span class='object_link'><a href="Como.html#postHook-class_method" title="Como.postHook (method)">postHook</a></span>
|
662
644
|
<small>Como</small>
|
663
645
|
</li>
|
664
646
|
|
665
647
|
|
666
|
-
<li class="
|
648
|
+
<li class="r2 ">
|
667
649
|
<span class='object_link'><a href="Como.html#preHook-class_method" title="Como.preHook (method)">preHook</a></span>
|
668
650
|
<small>Como</small>
|
669
651
|
</li>
|
670
652
|
|
671
653
|
|
672
|
-
<li class="
|
654
|
+
<li class="r1 ">
|
673
655
|
<span class='object_link'><a href="Como/ArgsParseState.html#prev-instance_method" title="Como::ArgsParseState#prev (method)">#prev</a></span>
|
674
656
|
<small>Como::ArgsParseState</small>
|
675
657
|
</li>
|
676
658
|
|
677
659
|
|
660
|
+
<li class="r2 ">
|
661
|
+
<span class='object_link'><a href="Como/Opt.html#prim%3F-instance_method" title="Como::Opt#prim? (method)">#prim?</a></span>
|
662
|
+
<small>Como::Opt</small>
|
663
|
+
</li>
|
664
|
+
|
665
|
+
|
678
666
|
<li class="r1 ">
|
679
667
|
<span class='object_link'><a href="Como/RuleDisplay.html#print-class_method" title="Como::RuleDisplay.print (method)">print</a></span>
|
680
668
|
<small>Como::RuleDisplay</small>
|
@@ -808,156 +796,150 @@
|
|
808
796
|
|
809
797
|
|
810
798
|
<li class="r1 ">
|
811
|
-
<span class='object_link'><a href="Como/Opt.html#silent%3F-instance_method" title="Como::Opt#silent? (method)">#silent?</a></span>
|
812
|
-
<small>Como::Opt</small>
|
813
|
-
</li>
|
814
|
-
|
815
|
-
|
816
|
-
<li class="r2 ">
|
817
799
|
<span class='object_link'><a href="Como/Spec.html#specify-class_method" title="Como::Spec.specify (method)">specify</a></span>
|
818
800
|
<small>Como::Spec</small>
|
819
801
|
</li>
|
820
802
|
|
821
803
|
|
822
|
-
<li class="
|
804
|
+
<li class="r2 ">
|
823
805
|
<span class='object_link'><a href="Como/Spec.html#specifyOptOrSub-class_method" title="Como::Spec.specifyOptOrSub (method)">specifyOptOrSub</a></span>
|
824
806
|
<small>Como::Spec</small>
|
825
807
|
</li>
|
826
808
|
|
827
809
|
|
828
|
-
<li class="
|
810
|
+
<li class="r1 ">
|
829
811
|
<span class='object_link'><a href="Como/Opt.html#suball-instance_method" title="Como::Opt#suball (method)">#suball</a></span>
|
830
812
|
<small>Como::Opt</small>
|
831
813
|
</li>
|
832
814
|
|
833
815
|
|
834
|
-
<li class="
|
816
|
+
<li class="r2 ">
|
835
817
|
<span class='object_link'><a href="Como/Spec.html#subcmd-instance_method" title="Como::Spec#subcmd (method)">#subcmd</a></span>
|
836
818
|
<small>Como::Spec</small>
|
837
819
|
</li>
|
838
820
|
|
839
821
|
|
840
|
-
<li class="
|
822
|
+
<li class="r1 ">
|
841
823
|
<span class='object_link'><a href="Como/Opt.html#subcmd-class_method" title="Como::Opt.subcmd (method)">subcmd</a></span>
|
842
824
|
<small>Como::Opt</small>
|
843
825
|
</li>
|
844
826
|
|
845
827
|
|
846
|
-
<li class="
|
828
|
+
<li class="r2 ">
|
847
829
|
<span class='object_link'><a href="Como/Opt.html#subcmd-instance_method" title="Como::Opt#subcmd (method)">#subcmd</a></span>
|
848
830
|
<small>Como::Opt</small>
|
849
831
|
</li>
|
850
832
|
|
851
833
|
|
852
|
-
<li class="
|
834
|
+
<li class="r1 ">
|
853
835
|
<span class='object_link'><a href="Como/Opt.html#subopt-instance_method" title="Como::Opt#subopt (method)">#subopt</a></span>
|
854
836
|
<small>Como::Opt</small>
|
855
837
|
</li>
|
856
838
|
|
857
839
|
|
858
|
-
<li class="
|
840
|
+
<li class="r2 ">
|
859
841
|
<span class='object_link'><a href="Como/Opt.html#suboptDoc-instance_method" title="Como::Opt#suboptDoc (method)">#suboptDoc</a></span>
|
860
842
|
<small>Como::Opt</small>
|
861
843
|
</li>
|
862
844
|
|
863
845
|
|
864
|
-
<li class="
|
846
|
+
<li class="r1 ">
|
865
847
|
<span class='object_link'><a href="Como/ArgsParseState.html#toValue-instance_method" title="Como::ArgsParseState#toValue (method)">#toValue</a></span>
|
866
848
|
<small>Como::ArgsParseState</small>
|
867
849
|
</li>
|
868
850
|
|
869
851
|
|
870
|
-
<li class="
|
852
|
+
<li class="r2 ">
|
871
853
|
<span class='object_link'><a href="Como/Opt.html#to_hash-instance_method" title="Como::Opt#to_hash (method)">#to_hash</a></span>
|
872
854
|
<small>Como::Opt</small>
|
873
855
|
</li>
|
874
856
|
|
875
857
|
|
876
|
-
<li class="
|
858
|
+
<li class="r1 ">
|
877
859
|
<span class='object_link'><a href="Como/Opt.html#to_hopt-instance_method" title="Como::Opt#to_hopt (method)">#to_hopt</a></span>
|
878
860
|
<small>Como::Opt</small>
|
879
861
|
</li>
|
880
862
|
|
881
863
|
|
882
|
-
<li class="
|
864
|
+
<li class="r2 ">
|
883
865
|
<span class='object_link'><a href="Como/Opt.html#type-instance_method" title="Como::Opt#type (method)">#type</a></span>
|
884
866
|
<small>Como::Opt</small>
|
885
867
|
</li>
|
886
868
|
|
887
869
|
|
888
|
-
<li class="
|
870
|
+
<li class="r1 ">
|
889
871
|
<span class='object_link'><a href="Como/Spec.html#usage-class_method" title="Como::Spec.usage (method)">usage</a></span>
|
890
872
|
<small>Como::Spec</small>
|
891
873
|
</li>
|
892
874
|
|
893
875
|
|
894
|
-
<li class="
|
876
|
+
<li class="r2 ">
|
895
877
|
<span class='object_link'><a href="Como/Opt.html#usage-instance_method" title="Como::Opt#usage (method)">#usage</a></span>
|
896
878
|
<small>Como::Opt</small>
|
897
879
|
</li>
|
898
880
|
|
899
881
|
|
900
|
-
<li class="
|
882
|
+
<li class="r1 ">
|
901
883
|
<span class='object_link'><a href="Como/Opt.html#usageCommand-instance_method" title="Como::Opt#usageCommand (method)">#usageCommand</a></span>
|
902
884
|
<small>Como::Opt</small>
|
903
885
|
</li>
|
904
886
|
|
905
887
|
|
906
|
-
<li class="
|
888
|
+
<li class="r2 ">
|
907
889
|
<span class='object_link'><a href="Como/MainOpt.html#usageCommand-instance_method" title="Como::MainOpt#usageCommand (method)">#usageCommand</a></span>
|
908
890
|
<small>Como::MainOpt</small>
|
909
891
|
</li>
|
910
892
|
|
911
893
|
|
912
|
-
<li class="
|
894
|
+
<li class="r1 ">
|
913
895
|
<span class='object_link'><a href="Como/Opt.html#usageIfHelp-instance_method" title="Como::Opt#usageIfHelp (method)">#usageIfHelp</a></span>
|
914
896
|
<small>Como::Opt</small>
|
915
897
|
</li>
|
916
898
|
|
917
899
|
|
918
|
-
<li class="
|
900
|
+
<li class="r2 ">
|
919
901
|
<span class='object_link'><a href="Como/Opt.html#usageNormal-instance_method" title="Como::Opt#usageNormal (method)">#usageNormal</a></span>
|
920
902
|
<small>Como::Opt</small>
|
921
903
|
</li>
|
922
904
|
|
923
905
|
|
924
|
-
<li class="
|
906
|
+
<li class="r1 ">
|
925
907
|
<span class='object_link'><a href="Como/Opt.html#value-instance_method" title="Como::Opt#value (method)">#value</a></span>
|
926
908
|
<small>Como::Opt</small>
|
927
909
|
</li>
|
928
910
|
|
929
911
|
|
930
|
-
<li class="
|
912
|
+
<li class="r2 ">
|
931
913
|
<span class='object_link'><a href="Como.html#version-class_method" title="Como.version (method)">version</a></span>
|
932
914
|
<small>Como</small>
|
933
915
|
</li>
|
934
916
|
|
935
917
|
|
936
|
-
<li class="
|
918
|
+
<li class="r1 ">
|
937
919
|
<span class='object_link'><a href="Como/Opt.html#warn-class_method" title="Como::Opt.warn (method)">warn</a></span>
|
938
920
|
<small>Como::Opt</small>
|
939
921
|
</li>
|
940
922
|
|
941
923
|
|
942
|
-
<li class="
|
924
|
+
<li class="r2 ">
|
943
925
|
<span class='object_link'><a href="Como/Opt.html#warn-instance_method" title="Como::Opt#warn (method)">#warn</a></span>
|
944
926
|
<small>Como::Opt</small>
|
945
927
|
</li>
|
946
928
|
|
947
929
|
|
948
|
-
<li class="
|
930
|
+
<li class="r1 ">
|
949
931
|
<span class='object_link'><a href="Como/Opt.html#year-class_method" title="Como::Opt.year (method)">year</a></span>
|
950
932
|
<small>Como::Opt</small>
|
951
933
|
</li>
|
952
934
|
|
953
935
|
|
954
|
-
<li class="
|
936
|
+
<li class="r2 ">
|
955
937
|
<span class='object_link'><a href="Como/MainOpt.html#year-instance_method" title="Como::MainOpt#year (method)">#year</a></span>
|
956
938
|
<small>Como::MainOpt</small>
|
957
939
|
</li>
|
958
940
|
|
959
941
|
|
960
|
-
<li class="
|
942
|
+
<li class="r1 ">
|
961
943
|
<span class='object_link'><a href="Como/Opt.html#%7E-instance_method" title="Como::Opt#~ (method)">#~</a></span>
|
962
944
|
<small>Como::Opt</small>
|
963
945
|
</li>
|