Class: Gitjour::Application
- Inherits:
-
Object
- Object
- Gitjour::Application
- Defined in:
- lib/gitjour.rb
Defined Under Namespace
Classes: Done
Class Method Summary collapse
Class Method Details
.run(*args) ⇒ Object
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
# File 'lib/gitjour.rb', line 15 def run(*args) case args.shift when "list" list when "pull" pull(*args) when "clone" clone(*args) when "serve" serve(*args) when "remote" remote(*args) when "web" web(*args) when "browse" browse(*args) else help end end |