Class: Jets::CLI::Release

Inherits:
Thor::Base show all
Defined in:
lib/jets/cli/release.rb,
lib/jets/cli/release/base.rb,
lib/jets/cli/release/info.rb,
lib/jets/cli/release/history.rb,
lib/jets/cli/release/rollback.rb

Defined Under Namespace

Classes: Base, History, Info, Rollback

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

Instance Method Details

#historyObject



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

def history
  History.new(options).run
end

#info(version = nil) ⇒ Object



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

def info(version = nil)
  Info.new(options.merge(version: version)).run
end

#rollback(version) ⇒ Object



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

def rollback(version)
  Rollback.new(options.merge(version: version)).run
end