Class: Capricorn::CLI::Releaser

Inherits:
Capricorn::CLI show all
Includes:
Helpers
Defined in:
lib/capricorn-client/cli/releaser.rb

Constant Summary

Constants included from Helpers

Helpers::DEFAULT_CONFIG

Instance Method Summary collapse

Methods included from Helpers

#application, #application_ids, #application_info, #applications, #client, #cluster, #config, #environment, #halt, #info, #local_config, #machine, #machines, #node, #nodes

Methods inherited from Capricorn::CLI

banner, #help, #method_missing, start

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Capricorn::CLI

Instance Method Details

#majorObject



17
18
19
# File 'lib/capricorn-client/cli/releaser.rb', line 17

def major
  release_version(:major)
end

#minorObject



12
13
14
# File 'lib/capricorn-client/cli/releaser.rb', line 12

def minor
  release_version(:minor)
end

#patchObject



7
8
9
# File 'lib/capricorn-client/cli/releaser.rb', line 7

def patch
  release_version(:patch)
end