Class: Describe

Inherits:
Command show all
Includes:
ChangeHandler, MetadataHandler, PrereleaseHandler, Singleton
Defined in:
lib/get/subcommand/describe/describe.rb

Overview

Class length is disabled as most of its length is given by formatting. rubocop:disable Metrics/ClassLength Subcommand, it manages the description of the current git repository using semantic version. All its subcommands should have a method named “describe_current_commit” as it will be called.

Constant Summary

Constants included from PrereleaseHandler

PrereleaseHandler::DEFAULT_PRERELEASE_PATTERN, PrereleaseHandler::DEFAULT_PRERELEASE_STRING, PrereleaseHandler::FIRST_PRERELEASE, PrereleaseHandler::PRERELEASE_PLACEHOLDER

Constants included from ChangeHandler

ChangeHandler::CHANGE_TYPE, ChangeHandler::DEFAULT_MAJOR_TRIGGER, ChangeHandler::DEFAULT_MINOR_TRIGGER, ChangeHandler::DEFAULT_PATCH_TRIGGER

Instance Attribute Summary

Attributes inherited from Command

#action, #description, #option_parser, #subcommands, #usage

Method Summary

Methods included from MetadataHandler

#compute_metadata

Methods included from PrereleaseHandler

#updated_prerelease

Methods included from ChangeHandler

#updated_stable_version