Class: Gpr::Commands::Select

Inherits:
Base
  • Object
show all
Defined in:
lib/gpr/commands/select.rb

Constant Summary

Constants included from Gpr

APP_PATH, VERSION

Instance Method Summary collapse

Methods inherited from Base

inherited

Constructor Details

#initialize(thor) ⇒ Select

Returns a new instance of Select.



6
7
8
9
10
11
12
13
14
# File 'lib/gpr/commands/select.rb', line 6

def initialize(thor)
  thor.class_eval do
    desc 'select', 'Select a repository using the interactive interface'
    def select
      repositories = repository_list
      puts Ifilter.filtering(repositories)
    end
  end
end