Class: Init

Inherits:
Command show all
Defined in:
lib/get/subcommand/init/init.rb

Overview

Class length is disabled as most of its length is given by formatting. rubocop:disable Metrics/ClassLength Subcommand, it allow to create a new repository and add an initial, empty commit to it.

Instance Attribute Summary

Attributes inherited from Command

#action, #description

Class Method Summary collapse

Class Method Details

.commandObject



29
30
31
32
# File 'lib/get/subcommand/init/init.rb', line 29

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