Class: Docora::Cli

Inherits:
Thor
  • Object
show all
Includes:
Thor::Actions
Defined in:
lib/docora/cli.rb

Instance Method Summary collapse

Instance Method Details

#clean(project = 'docker') ⇒ Object



21
22
23
# File 'lib/docora/cli.rb', line 21

def clean(project = 'docker')
  do_clean(project)
end

#setup(project = 'docker') ⇒ Object



11
12
13
# File 'lib/docora/cli.rb', line 11

def setup(project = 'docker')
  do_setup(project)
end

#up(project = 'docker') ⇒ Object



16
17
18
# File 'lib/docora/cli.rb', line 16

def up(project = 'docker')
  do_up(project)
end

#versionObject



26
27
28
# File 'lib/docora/cli.rb', line 26

def version
  puts Gem.loaded_specs['docora'].version.to_s
end