Class: Icarus::Mod::CLI::List
Overview
Sync CLI command definitions
Instance Method Summary
collapse
banner, subcommand_prefix
Methods inherited from Base
exit_on_failure?
Instance Method Details
#modinfo ⇒ Object
12
13
14
15
16
|
# File 'lib/icarus/mod/cli/list.rb', line 12
def modinfo
modinfo_array = Firestore.new.send(:modinfo)
puts modinfo_array
puts "Total: #{modinfo_array.count}" if verbose > 1
end
|
#mods ⇒ Object
35
36
37
|
# File 'lib/icarus/mod/cli/list.rb', line 35
def mods
list_for_type(:mods)
end
|
#repos ⇒ Object
26
27
28
29
30
|
# File 'lib/icarus/mod/cli/list.rb', line 26
def repos
repos = Firestore.new.send(:repositories)
puts repos
puts "Total: #{repos.count}" if verbose > 1
end
|
19
20
21
22
23
|
# File 'lib/icarus/mod/cli/list.rb', line 19
def toolinfo
toolinfo_array = Firestore.new.send(:toolinfo)
puts toolinfo_array
puts "Total: #{toolinfo_array.count}" if verbose > 1
end
|
42
43
44
|
# File 'lib/icarus/mod/cli/list.rb', line 42
def tools
list_for_type(:tools)
end
|