Class: Tagrity::CLI

Inherits:
Thor
  • Object
show all
Defined in:
lib/tagrity/cli.rb

Instance Method Summary collapse

Instance Method Details

#logsObject



37
38
39
# File 'lib/tagrity/cli.rb', line 37

def logs
  Command::Logs::call(options['n'], options['debug'])
end

#reviveObject



42
43
44
# File 'lib/tagrity/cli.rb', line 42

def revive
  Command::Revive::call
end

#startObject



19
20
21
# File 'lib/tagrity/cli.rb', line 19

def start()
  Command::Start::call(options['fg'], options['fresh'])
end

#statusObject



30
31
32
# File 'lib/tagrity/cli.rb', line 30

def status
  Command::Status::call
end

#stopObject



25
26
27
# File 'lib/tagrity/cli.rb', line 25

def stop()
  Command::Stop::call(options['dir'])
end

#versionObject



12
13
14
# File 'lib/tagrity/cli.rb', line 12

def version()
  puts Tagrity::VERSION
end