Module: Kiba::Extend::Command::Reg

Defined in:
lib/kiba/extend/command/reg.rb,
lib/kiba/extend/command/reg/list.rb

Defined Under Namespace

Modules: List

Class Method Summary collapse

Class Method Details

.listObject



9
10
11
# File 'lib/kiba/extend/command/reg.rb', line 9

def list
  puts Kiba::Extend::Registry::RegistryList.new
end

.tagsObject



13
14
15
16
17
18
19
20
# File 'lib/kiba/extend/command/reg.rb', line 13

def tags
  Kiba::Extend.registry.entries.map(&:tags)
    .compact
    .reject(&:empty?)
    .flatten
    .uniq
    .sort
end

.validateObject



22
23
24
# File 'lib/kiba/extend/command/reg.rb', line 22

def validate
  Kiba::Extend::Registry::RegistryValidator.new.report
end