Class: Tagrity::CLI
- Inherits:
-
Thor
- Object
- Thor
- Tagrity::CLI
- Defined in:
- lib/tagrity/cli.rb
Instance Method Summary collapse
Instance Method Details
#logs ⇒ Object
37 38 39 |
# File 'lib/tagrity/cli.rb', line 37 def logs Command::Logs::call(['n'], ['debug']) end |
#revive ⇒ Object
42 43 44 |
# File 'lib/tagrity/cli.rb', line 42 def revive Command::Revive::call end |
#start ⇒ Object
19 20 21 |
# File 'lib/tagrity/cli.rb', line 19 def start() Command::Start::call(['fg'], ['fresh']) end |
#status ⇒ Object
30 31 32 |
# File 'lib/tagrity/cli.rb', line 30 def status Command::Status::call end |
#stop ⇒ Object
25 26 27 |
# File 'lib/tagrity/cli.rb', line 25 def stop() Command::Stop::call(['dir']) end |
#version ⇒ Object
12 13 14 |
# File 'lib/tagrity/cli.rb', line 12 def version() puts Tagrity::VERSION end |