Class: License

Inherits:
Command show all
Includes:
Retriever
Defined in:
lib/get/subcommand/license/license.rb

Overview

Class length is disabled as most of its length is given by formatting. rubocop:disable Metrics/ClassLength Subcommand, it allow to choose a license.

Constant Summary

Constants included from Retriever

Retriever::BASE_OFFLINE_LICENSE_PATH, Retriever::BASE_ONLINE_LICENSE_URI

Instance Attribute Summary

Attributes inherited from Command

#action, #description

Class Method Summary collapse

Methods included from Retriever

#ask_for_license

Class Method Details

.commandObject


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

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