Class: Jets::CLI::Waf

Inherits:
Thor::Base show all
Defined in:
lib/jets/cli/waf.rb,
lib/jets/cli/waf/base.rb,
lib/jets/cli/waf/info.rb,
lib/jets/cli/waf/init.rb,
lib/jets/cli/waf/build.rb,
lib/jets/cli/waf/delete.rb,
lib/jets/cli/waf/deploy.rb

Defined Under Namespace

Classes: Base, Build, Delete, Deploy, Info, Init

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Thor::Base

dispatch, exit_on_failure?, help_flags, version_flags, website

Methods included from Thor::Help

#capture_stdout_for_help, #help, #paginate_output

Class Method Details

.waf_nameObject

interface method



5
6
7
# File 'lib/jets/cli/waf.rb', line 5

def waf_name
  [Jets.env, Jets.extra].compact.join("-")
end

Instance Method Details

#buildObject



15
16
17
# File 'lib/jets/cli/waf.rb', line 15

def build
  Build.new(options).run
end

#deleteObject



27
28
29
# File 'lib/jets/cli/waf.rb', line 27

def delete
  Delete.new(options).run
end

#deployObject



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

def deploy
  Deploy.new(options).run
end

#infoObject



34
35
36
# File 'lib/jets/cli/waf.rb', line 34

def info
  Info.new(options).run
end