Update cmd.rb to v0.5.0
This commit is contained in:
parent
2350a8d56e
commit
32989a92bf
8 changed files with 10 additions and 10 deletions
|
@ -9,7 +9,7 @@ class Twenty::Command::Connect < Twenty::Command
|
|||
|
||||
def run
|
||||
options = parse_options(argv)
|
||||
options.help ? show_help : run_command(options)
|
||||
run_command(options)
|
||||
end
|
||||
|
||||
private
|
||||
|
|
|
@ -10,7 +10,7 @@ class Twenty::Command::Console < Twenty::Command
|
|||
|
||||
def run
|
||||
options = parse_options(argv)
|
||||
options.help ? show_help : run_command(options)
|
||||
run_command(options)
|
||||
end
|
||||
|
||||
private
|
||||
|
|
|
@ -9,7 +9,7 @@ class Twenty::Command::Disconnect < Twenty::Command
|
|||
|
||||
def run
|
||||
options = parse_options(argv)
|
||||
options.help ? show_help : run_command(options)
|
||||
run_command(options)
|
||||
end
|
||||
|
||||
private
|
||||
|
|
|
@ -9,7 +9,7 @@ class Twenty::Command::Down < Twenty::Command
|
|||
|
||||
def run
|
||||
options = parse_options(argv)
|
||||
options.help ? show_help : run_command(options)
|
||||
run_command(options)
|
||||
end
|
||||
|
||||
private
|
||||
|
|
|
@ -9,7 +9,7 @@ class Twenty::Command::Migrate < Twenty::Command
|
|||
|
||||
def run
|
||||
options = parse_options(argv)
|
||||
options.help ? show_help : run_command(options)
|
||||
run_command(options)
|
||||
end
|
||||
|
||||
private
|
||||
|
|
|
@ -24,7 +24,7 @@ class Twenty::Command::Up < Twenty::Command
|
|||
|
||||
def run
|
||||
options = parse_options(argv)
|
||||
options.help ? show_help : run_command(options)
|
||||
run_command(options)
|
||||
end
|
||||
|
||||
private
|
||||
|
|
|
@ -16,8 +16,8 @@ Gem::Specification.new do |gem|
|
|||
gem.require_paths = ["lib"]
|
||||
gem.summary = "twenty: CLI component"
|
||||
gem.description = gem.summary
|
||||
gem.executables = ["twenty", "20"]
|
||||
gem.add_runtime_dependency "cmd.rb", "~> 0.4"
|
||||
gem.executables = ["twenty"]
|
||||
gem.add_runtime_dependency "cmd.rb", "~> 0.5"
|
||||
gem.add_runtime_dependency "paint", "~> 2.3"
|
||||
gem.add_development_dependency "test-unit", "~> 3.5.7"
|
||||
gem.add_development_dependency "yard", "~> 0.9"
|
||||
|
|
|
@ -16,8 +16,8 @@ Gem::Specification.new do |gem|
|
|||
gem.require_paths = ["lib"]
|
||||
gem.summary = "twenty: CLI component"
|
||||
gem.description = gem.summary
|
||||
gem.executables = ["twenty", "20"]
|
||||
gem.add_runtime_dependency "cmd.rb", "~> 0.4"
|
||||
gem.executables = ["twenty"]
|
||||
gem.add_runtime_dependency "cmd.rb", "~> 0.5"
|
||||
gem.add_runtime_dependency "paint", "~> 2.3"
|
||||
gem.add_development_dependency "test-unit", "~> 3.5.7"
|
||||
gem.add_development_dependency "yard", "~> 0.9"
|
||||
|
|
Loading…
Reference in a new issue