subcommand 1.0.6 → 1.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.rdoc +4 -1
- data/README.rdoc +85 -71
- data/Rakefile +1 -53
- data/VERSION +1 -1
- data/lib/subcommand.rb +24 -17
- data/subcommand.gemspec +15 -23
- metadata +40 -45
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 30b9e0db36c45a59dab2d993ba1d9e9efa2a73d972e568f2ea847dfe36ac142a
|
4
|
+
data.tar.gz: f68575069d08d882a91291c4222f65b7a090078d39cda3456836cf0373161249
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: ec27f7b55bb7344cdec562ae8574b61ce1042c169526fb9aa4f010d537a9ada17955e7d04473b43329c26319b5ace740ab2fbf6203ef7d336c0357d4c9c9524b
|
7
|
+
data.tar.gz: 36bbbbadaf547a2105be5c0af81dd23bf15d488b82140e7879134eede4c3e7a3ac352b8f00809a187f5e3481d07b8315517aa8e6e394a0f2c706596bf52569ab
|
data/CHANGELOG.rdoc
CHANGED
@@ -1,9 +1,12 @@
|
|
1
|
+
= subcommand 1.0.6 2011-10-6
|
2
|
+
* added list_actions to facilitate dynamic custom completion using compctl etc
|
3
|
+
|
1
4
|
= subcommand 1.0.4 2010-06-24 15:51
|
2
5
|
* text for subcommands was being processed always before execution, so the
|
3
6
|
point of lazy loading was lost. I've moved it away so it's only processed if
|
4
7
|
actually printing help.
|
5
8
|
|
6
|
-
|
9
|
+
However, this means that if you are relying on OptionParser's implicit --help,
|
7
10
|
that won't print subcommands. So i've added a method add_help_option which
|
8
11
|
adds a correct help option, to print subcommands. This way, command help and
|
9
12
|
command --help print identical output.
|
data/README.rdoc
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
|
2
1
|
= Subcommand
|
3
2
|
|
4
3
|
A tiny wrapper over ruby's awesome OptionParser (standard) which gives easy facility of subcommands.
|
4
|
+
|
5
5
|
It has a similar interface to git and prints subcommands summary as well.
|
6
6
|
|
7
7
|
Options parsers are lazy-loaded thanks to a suggestion and sample code by Robert Klemme on ruby-forum.org.
|
@@ -18,115 +18,129 @@ This wrapper adds the `description` attr to what OptionParser already provides.
|
|
18
18
|
e.g
|
19
19
|
Assuming a program "prog" with subcommands "del" and "add"
|
20
20
|
|
21
|
-
|
22
|
-
|
21
|
+
prog help
|
22
|
+
prog --help
|
23
23
|
|
24
|
-
|
25
|
-
|
24
|
+
prog help del
|
25
|
+
prog del --help
|
26
26
|
|
27
|
-
|
28
|
-
|
27
|
+
prog del --force file.a
|
28
|
+
prog --verbose del --force file.a
|
29
29
|
|
30
30
|
== Examples
|
31
31
|
|
32
|
-
|
32
|
+
if a program has subcommands foo and baz
|
33
33
|
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
34
|
+
ruby subcommand.rb help
|
35
|
+
ruby subcommand.rb --help
|
36
|
+
ruby subcommand.rb help foo
|
37
|
+
ruby subcommand.rb foo --help
|
38
|
+
ruby subcommand.rb baz --quiet "some text"
|
39
|
+
ruby subcommand.rb --verbose foo --force file.zzz
|
40
40
|
|
41
|
-
== STEPS
|
41
|
+
== STEPS
|
42
42
|
|
43
|
-
|
43
|
+
1. define global_options (optional)
|
44
44
|
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
45
|
+
global_options do |opts|
|
46
|
+
opts.banner = "Usage: subcommand.rb [options] [subcommand [options]]"
|
47
|
+
opts.description = "Stupid program that does something"
|
48
|
+
opts.separator ""
|
49
|
+
opts.separator "Global options are:"
|
50
|
+
opts.on("-v", "--[no-]verbose", "Run verbosely") do |v|
|
51
|
+
options[:verbose] = v
|
52
|
+
end
|
53
|
+
end
|
54
54
|
|
55
55
|
2. define commands using command(). Send multiple names for aliases.
|
56
56
|
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
57
|
+
command :foo do |opts|
|
58
|
+
opts.banner = "Usage: foo [options]"
|
59
|
+
opts.description = "desc for foo"
|
60
|
+
opts.on("-f", "--[no-]force", "force action") do |v|
|
61
|
+
options[:force] = v
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
# aliases init and create
|
66
|
+
command :init, :create do |opts| ...
|
67
|
+
|
68
|
+
alias_command :zoo, 'foo' , '-f'
|
69
|
+
alias_command :bar, 'baz' , 'ruby.txt'
|
64
70
|
|
65
|
-
|
66
|
-
command :init, :create do |opts| ...
|
71
|
+
3. call opt_parse()
|
67
72
|
|
68
|
-
|
69
|
-
alias_command :bar, 'baz' , 'ruby.txt'
|
73
|
+
selected_command_name = opt_parse()
|
70
74
|
|
71
|
-
|
75
|
+
== Custom Completion
|
76
|
+
The command list_actions can be called from your application, so that the user
|
77
|
+
can have custom completion.
|
72
78
|
|
73
|
-
|
79
|
+
opts.on("--list-actions", "list actions for autocompletion ") do |v|
|
80
|
+
Subcommands::list_actions
|
81
|
+
exit 0
|
82
|
+
end
|
83
|
+
|
84
|
+
Now we can place something like this in a configuration file. Here's what i placed
|
85
|
+
in .zshrc for bugzyrb.
|
86
|
+
|
87
|
+
_bugzyrb() {
|
88
|
+
reply=(`bugzyrb --list-actions`)
|
89
|
+
}
|
90
|
+
compctl -K _bugzyrb bugzyrb
|
91
|
+
|
92
|
+
Now, on the command line when I type "bugzyrb <TAB>" the actions are prompted in a menu.
|
74
93
|
|
75
94
|
== Sample Output
|
76
95
|
|
77
|
-
|
96
|
+
$ ruby subcommand.rb help
|
78
97
|
|
79
|
-
|
80
|
-
|
98
|
+
Usage: subcommand.rb [options] [subcommand [options]]
|
99
|
+
Stupid program that does something
|
81
100
|
|
82
|
-
|
83
|
-
|
101
|
+
Global options are:
|
102
|
+
-v, --[no-]verbose Run verbosely
|
84
103
|
|
85
|
-
|
86
|
-
|
87
|
-
|
104
|
+
Commands are:
|
105
|
+
foo : desc for foo
|
106
|
+
baz : desc for baz
|
88
107
|
|
89
|
-
|
90
|
-
|
108
|
+
Aliases:
|
109
|
+
goo - foo
|
91
110
|
|
92
|
-
|
111
|
+
See 'subcommand.rb help COMMAND' for more information on a specific command.
|
93
112
|
|
94
113
|
|
95
|
-
|
114
|
+
$ ruby subcommand.rb help foo
|
96
115
|
|
97
|
-
|
98
|
-
|
99
|
-
|
116
|
+
Usage: foo [options]
|
117
|
+
desc for foo
|
118
|
+
-f, --[no-]force force action
|
100
119
|
|
101
120
|
== Install
|
102
121
|
|
103
|
-
|
122
|
+
sudo gem install subcommand
|
104
123
|
|
105
124
|
Or, copy into your lib directory and require (see source for sample usage)
|
106
125
|
|
107
|
-
== Testing
|
126
|
+
== Testing
|
108
127
|
|
109
|
-
This comes with a bunch of test cases, that I think cover all cases including printing help
|
110
|
-
for aliases.
|
128
|
+
This comes with a bunch of test cases, that I think cover all cases including printing help
|
129
|
+
for aliases.
|
111
130
|
|
112
131
|
make test
|
113
132
|
|
114
|
-
You should have no errors. The test cases are in the **tests** folder.
|
133
|
+
You should have no errors. The test cases are in the **tests** folder.
|
134
|
+
|
135
|
+
== RDOC
|
115
136
|
|
116
|
-
|
137
|
+
http://subcommand.rubyforge.org/doc/
|
117
138
|
|
118
|
-
|
139
|
+
== Copyright
|
119
140
|
|
120
|
-
|
121
|
-
|
122
|
-
* Fork the project.
|
123
|
-
* Make your feature addition or bug fix.
|
124
|
-
* Add tests for it. This is important so I don't break it in a
|
125
|
-
future version unintentionally.
|
126
|
-
* Commit, do not mess with rakefile, version, or history.
|
127
|
-
(if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
|
128
|
-
* Send me a pull request. Bonus points for topic branches.
|
141
|
+
Copyright (c) 2010-2019 Rahul Kumar. See LICENSE for details.
|
129
142
|
|
130
|
-
==
|
143
|
+
== Others
|
131
144
|
|
132
|
-
|
145
|
+
This simple gem is still working fine. No need for a new release.
|
146
|
+
Working with ruby 1.9 through 2.6. And now ruby 3.1.2p20.
|
data/Rakefile
CHANGED
@@ -1,54 +1,2 @@
|
|
1
|
-
require
|
2
|
-
require 'rake'
|
1
|
+
require "bundler/gem_tasks"
|
3
2
|
|
4
|
-
begin
|
5
|
-
require 'jeweler'
|
6
|
-
Jeweler::Tasks.new do |gem|
|
7
|
-
gem.name = "subcommand"
|
8
|
-
gem.summary = %Q{A tiny wrapper over OptionParser giving simple, elegant subcommand facility}
|
9
|
-
gem.description = %Q{Subcommand and alias facility (wrapping OptionParser) for command line programs with elegant help printing}
|
10
|
-
gem.email = "sentinel.1879@gmail.com"
|
11
|
-
gem.homepage = "http://github.com/rkumar/subcommand"
|
12
|
-
gem.authors = ["Rahul Kumar"]
|
13
|
-
gem.rubyforge_project = "subcommand"
|
14
|
-
#gem.add_development_dependency "thoughtbot-shoulda", ">= 0"
|
15
|
-
gem.add_development_dependency "yard", ">= 0"
|
16
|
-
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
17
|
-
end
|
18
|
-
Jeweler::GemcutterTasks.new
|
19
|
-
rescue LoadError
|
20
|
-
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
|
21
|
-
end
|
22
|
-
|
23
|
-
require 'rake/testtask'
|
24
|
-
Rake::TestTask.new(:test) do |test|
|
25
|
-
test.libs << 'lib' << 'test'
|
26
|
-
test.pattern = 'test/**/test_*.rb'
|
27
|
-
test.verbose = true
|
28
|
-
end
|
29
|
-
|
30
|
-
begin
|
31
|
-
require 'rcov/rcovtask'
|
32
|
-
Rcov::RcovTask.new do |test|
|
33
|
-
test.libs << 'test'
|
34
|
-
test.pattern = 'test/**/test_*.rb'
|
35
|
-
test.verbose = true
|
36
|
-
end
|
37
|
-
rescue LoadError
|
38
|
-
task :rcov do
|
39
|
-
abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
|
40
|
-
end
|
41
|
-
end
|
42
|
-
|
43
|
-
task :test => :check_dependencies
|
44
|
-
|
45
|
-
task :default => :test
|
46
|
-
|
47
|
-
begin
|
48
|
-
require 'yard'
|
49
|
-
YARD::Rake::YardocTask.new
|
50
|
-
rescue LoadError
|
51
|
-
task :yardoc do
|
52
|
-
abort "YARD is not available. In order to run yardoc, you must: sudo gem install yard"
|
53
|
-
end
|
54
|
-
end
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.8
|
data/lib/subcommand.rb
CHANGED
@@ -5,9 +5,9 @@
|
|
5
5
|
# as well as summarizes subcommands in global help.
|
6
6
|
#
|
7
7
|
# Thanks to Robert Klemme for his idea on lazy loading the subcommand option parsers.
|
8
|
-
#
|
8
|
+
#
|
9
9
|
# @author Rahul Kumar, Jun 2010
|
10
|
-
# @date 2010-06-20 22:33
|
10
|
+
# @date 2010-06-20 22:33
|
11
11
|
#
|
12
12
|
# @examples
|
13
13
|
# if a program has subcommands foo and baz
|
@@ -19,7 +19,7 @@
|
|
19
19
|
# ruby subcommand.rb baz --quiet "some text"
|
20
20
|
# ruby subcommand.rb --verbose foo --force file.zzz
|
21
21
|
#
|
22
|
-
# == STEPS
|
22
|
+
# == STEPS
|
23
23
|
# 1. define global_options (optional)
|
24
24
|
#
|
25
25
|
# global_options do |opts|
|
@@ -66,7 +66,7 @@ module Subcommands
|
|
66
66
|
@commands ||= {}
|
67
67
|
@aliases ||= {}
|
68
68
|
if names.length > 0
|
69
|
-
names.each do |n|
|
69
|
+
names.each do |n|
|
70
70
|
#puts "aliases #{n} => #{name} "
|
71
71
|
@aliases[n.to_s] = name.to_s
|
72
72
|
end
|
@@ -91,6 +91,7 @@ module Subcommands
|
|
91
91
|
end
|
92
92
|
end
|
93
93
|
|
94
|
+
|
94
95
|
# Added so applications can print out a bare listing of top level commands
|
95
96
|
# for dynamic custom completion.
|
96
97
|
def list_actions
|
@@ -100,7 +101,7 @@ module Subcommands
|
|
100
101
|
|
101
102
|
def print_actions
|
102
103
|
cmdtext = "Commands are:"
|
103
|
-
@commands.each_pair do |c, opt|
|
104
|
+
@commands.each_pair do |c, opt|
|
104
105
|
#puts "inside opt.call loop"
|
105
106
|
desc = opt.call.description
|
106
107
|
cmdtext << "\n #{c} : #{desc}"
|
@@ -108,7 +109,7 @@ module Subcommands
|
|
108
109
|
|
109
110
|
# print aliases
|
110
111
|
unless @aliases.empty?
|
111
|
-
cmdtext << "\n\nAliases: \n"
|
112
|
+
cmdtext << "\n\nAliases: \n"
|
112
113
|
@aliases.each_pair { |name, val| cmdtext << " #{name} - #{val}\n" }
|
113
114
|
end
|
114
115
|
|
@@ -134,12 +135,17 @@ module Subcommands
|
|
134
135
|
def add_help_option
|
135
136
|
global_options do |opts|
|
136
137
|
opts.on("-h", "--help", "Print this help") do |v|
|
137
|
-
|
138
|
-
puts @global
|
138
|
+
print_help
|
139
139
|
exit
|
140
140
|
end
|
141
141
|
end
|
142
142
|
end
|
143
|
+
|
144
|
+
def print_help
|
145
|
+
add_subcommand_help
|
146
|
+
puts @global
|
147
|
+
end
|
148
|
+
|
143
149
|
# first parse global optinos
|
144
150
|
# then parse subcommand options if valid subcommand
|
145
151
|
# special case of "help command" so we print help of command - git style (3)
|
@@ -154,8 +160,7 @@ module Subcommands
|
|
154
160
|
opts.separator ""
|
155
161
|
opts.separator "Global options are:"
|
156
162
|
opts.on("-h", "--help", "Print this help") do |v|
|
157
|
-
|
158
|
-
puts @global
|
163
|
+
print_help
|
159
164
|
exit
|
160
165
|
end
|
161
166
|
opts.separator ""
|
@@ -167,7 +172,7 @@ module Subcommands
|
|
167
172
|
cmd = ARGV.shift
|
168
173
|
if cmd
|
169
174
|
#$stderr.puts "Command: #{cmd}, args:#{ARGV}, #{@commands.keys} "
|
170
|
-
sc = @commands[cmd]
|
175
|
+
sc = @commands[cmd]
|
171
176
|
#puts "sc: #{sc}: #{@commands}"
|
172
177
|
unless sc
|
173
178
|
# see if an alias exists
|
@@ -190,20 +195,22 @@ module Subcommands
|
|
190
195
|
if sc
|
191
196
|
#puts " 111 help #{cmd}"
|
192
197
|
puts sc.call
|
193
|
-
else
|
198
|
+
else
|
194
199
|
# no help for this command XXX check for alias
|
195
200
|
puts "Invalid command: #{cmd}."
|
196
|
-
|
197
|
-
puts @global
|
201
|
+
print_help
|
198
202
|
end
|
199
203
|
else
|
200
|
-
# invalid command
|
204
|
+
# invalid command
|
201
205
|
puts "Invalid command: #{cmd}" unless cmd == "help"
|
202
|
-
|
203
|
-
puts @global
|
206
|
+
print_help
|
204
207
|
end
|
205
208
|
exit 0
|
206
209
|
end
|
210
|
+
else
|
211
|
+
puts "Empty command!"
|
212
|
+
print_help
|
213
|
+
exit 1
|
207
214
|
end
|
208
215
|
return @command_name
|
209
216
|
end
|
data/subcommand.gemspec
CHANGED
@@ -1,17 +1,11 @@
|
|
1
|
-
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
-
# -*- encoding: utf-8 -*-
|
5
|
-
|
6
1
|
Gem::Specification.new do |s|
|
7
|
-
s.name =
|
8
|
-
s.version = "1.0.
|
2
|
+
s.name = "subcommand"
|
3
|
+
s.version = "1.0.8"
|
9
4
|
|
10
5
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = [
|
12
|
-
s.
|
13
|
-
s.
|
14
|
-
s.email = %q{sentinel.1879@gmail.com}
|
6
|
+
s.authors = ["Rahul Kumar"]
|
7
|
+
s.description = "Subcommand and alias facility (wrapping OptionParser) for command line programs with elegant help printing"
|
8
|
+
s.email = "oneness.univ@gmail.com"
|
15
9
|
s.extra_rdoc_files = [
|
16
10
|
"LICENSE",
|
17
11
|
"README.rdoc",
|
@@ -44,22 +38,20 @@ Gem::Specification.new do |s|
|
|
44
38
|
"tests/test.rb",
|
45
39
|
"tests/test1.rb"
|
46
40
|
]
|
47
|
-
s.homepage =
|
48
|
-
s.require_paths = [
|
49
|
-
s.rubyforge_project =
|
50
|
-
s.
|
51
|
-
s.summary = %q{A tiny wrapper over OptionParser giving simple, elegant subcommand facility}
|
41
|
+
s.homepage = "http://github.com/rkumar/subcommand"
|
42
|
+
s.require_paths = ["lib"]
|
43
|
+
s.rubyforge_project = "subcommand"
|
44
|
+
s.summary = "A tiny wrapper over OptionParser giving simple, elegant subcommand facility"
|
52
45
|
|
53
|
-
if s.respond_to? :specification_version
|
54
|
-
s.specification_version = 3
|
46
|
+
if s.respond_to? :specification_version
|
55
47
|
|
56
|
-
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new(
|
57
|
-
s.add_development_dependency(
|
48
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new("1.2.0")
|
49
|
+
s.add_development_dependency("yard", [">= 0"])
|
58
50
|
else
|
59
|
-
s.add_dependency(
|
51
|
+
s.add_dependency("yard", [">= 0"])
|
60
52
|
end
|
61
53
|
else
|
62
|
-
s.add_dependency(
|
54
|
+
s.add_dependency("yard", [">= 0"])
|
63
55
|
end
|
56
|
+
s.metadata["rubygems_mfa_required"] = "true"
|
64
57
|
end
|
65
|
-
|
metadata
CHANGED
@@ -1,45 +1,46 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: subcommand
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
version: 1.0.6
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.8
|
6
5
|
platform: ruby
|
7
|
-
authors:
|
6
|
+
authors:
|
8
7
|
- Rahul Kumar
|
9
|
-
autorequire:
|
8
|
+
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
- !ruby/object:Gem::Dependency
|
11
|
+
date: 2022-11-08 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
16
14
|
name: yard
|
17
|
-
|
18
|
-
|
19
|
-
none: false
|
20
|
-
requirements:
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
21
17
|
- - ">="
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version:
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
24
20
|
type: :development
|
25
|
-
|
26
|
-
|
27
|
-
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
description: Subcommand and alias facility (wrapping OptionParser) for command line
|
28
|
+
programs with elegant help printing
|
29
|
+
email: oneness.univ@gmail.com
|
28
30
|
executables: []
|
29
|
-
|
30
31
|
extensions: []
|
31
|
-
|
32
|
-
extra_rdoc_files:
|
32
|
+
extra_rdoc_files:
|
33
33
|
- LICENSE
|
34
34
|
- README.rdoc
|
35
35
|
- TODO
|
36
|
-
files:
|
37
|
-
- .document
|
36
|
+
files:
|
37
|
+
- ".document"
|
38
38
|
- CHANGELOG.rdoc
|
39
39
|
- LICENSE
|
40
40
|
- Makefile
|
41
41
|
- README.rdoc
|
42
42
|
- Rakefile
|
43
|
+
- TODO
|
43
44
|
- VERSION
|
44
45
|
- lib/subcommand.rb
|
45
46
|
- subcommand.gemspec
|
@@ -59,33 +60,27 @@ files:
|
|
59
60
|
- tests/test-lib.sh
|
60
61
|
- tests/test.rb
|
61
62
|
- tests/test1.rb
|
62
|
-
- TODO
|
63
63
|
homepage: http://github.com/rkumar/subcommand
|
64
64
|
licenses: []
|
65
|
-
|
66
|
-
|
65
|
+
metadata:
|
66
|
+
rubygems_mfa_required: 'true'
|
67
|
+
post_install_message:
|
67
68
|
rdoc_options: []
|
68
|
-
|
69
|
-
require_paths:
|
69
|
+
require_paths:
|
70
70
|
- lib
|
71
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
72
|
-
|
73
|
-
requirements:
|
71
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
74
73
|
- - ">="
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
version:
|
77
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
78
|
-
|
79
|
-
requirements:
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
77
|
+
requirements:
|
80
78
|
- - ">="
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version:
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: '0'
|
83
81
|
requirements: []
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
signing_key:
|
88
|
-
specification_version: 3
|
82
|
+
rubygems_version: 3.3.11
|
83
|
+
signing_key:
|
84
|
+
specification_version: 4
|
89
85
|
summary: A tiny wrapper over OptionParser giving simple, elegant subcommand facility
|
90
86
|
test_files: []
|
91
|
-
|