Class: Gpr::Main

Inherits:
Thor
  • Object
show all
Includes:
Gpr, Action
Defined in:
lib/gpr/main.rb

Constant Summary

Constants included from Gpr

APP_PATH, VERSION

Class Method Summary collapse

Methods included from Action

#parse_repository, #repository_list

Class Method Details

.load_commandsObject



27
28
29
# File 'lib/gpr/main.rb', line 27

def self.load_commands
  @@commands.map { |command| command.new(self) }
end

.start(args) ⇒ Object



21
22
23
24
25
# File 'lib/gpr/main.rb', line 21

def self.start(args)
  self.load_commands

  super(args)
end