Class: Commit

Inherits:
Command show all
Includes:
PromptHandler
Defined in:
lib/get/subcommand/commit/commit.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.

Constant Summary

Constants included from PromptHandler

PromptHandler::BODY_END_DELIMITER, PromptHandler::DEFAULT_TYPES, PromptHandler::STRING_VALUE_VALIDATOR

Instance Attribute Summary

Attributes inherited from Command

#action, #description

Class Method Summary collapse

Methods included from PromptHandler

#ask_for_breaking, #ask_for_message, #ask_for_scope, #ask_for_summary, #ask_for_type

Class Method Details

.commandObject



30
31
32
33
# File 'lib/get/subcommand/commit/commit.rb', line 30

def self.command
  @@command ||= new
  @@command
end