Class: Gisture::Commands::Repo::Run
- Inherits:
-
Object
- Object
- Gisture::Commands::Repo::Run
- Includes:
- Kommand::Commands::Command
- Defined in:
- lib/gisture/commands/repo/run.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.usage ⇒ Object
14 15 16 17 18 19 20 21 |
# File 'lib/gisture/commands/repo/run.rb', line 14 def usage puts "usage: #{Kommand.kommand} #{command_name} YAML_GISTURE_URL #{valid_arguments.to_s}" unless valid_arguments.empty? puts puts "Arguments:" puts valid_arguments.to_help end end |
Instance Method Details
#run ⇒ Object
24 25 26 |
# File 'lib/gisture/commands/repo/run.rb', line 24 def run repo.run!(repo_url[1]) end |