Class: Icarus::Mod::CLI::Sync
Overview
Sync CLI command definitions rubocop:disable Style/GlobalVars
Instance Method Summary
collapse
banner, subcommand_prefix
Methods inherited from Base
exit_on_failure?
Instance Method Details
#all ⇒ Object
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# File 'lib/icarus/mod/cli/sync.rb', line 19
def all
puts "Running Toolinfo Sync..." if verbose?
invoke :toolinfo
puts "Running Tools Sync..." if verbose?
invoke :tools
puts "Running Modinfo Sync..." if verbose?
invoke :modinfo
puts "Running Mods Sync..." if verbose?
invoke :mods
end
|
#modinfo ⇒ Object
34
35
36
|
# File 'lib/icarus/mod/cli/sync.rb', line 34
def modinfo
sync_info(:modinfo)
end
|
#mods ⇒ Object
45
46
47
|
# File 'lib/icarus/mod/cli/sync.rb', line 45
def mods
sync_list(:mods)
end
|
39
40
41
|
# File 'lib/icarus/mod/cli/sync.rb', line 39
def toolinfo
sync_info(:toolinfo)
end
|
51
52
53
|
# File 'lib/icarus/mod/cli/sync.rb', line 51
def tools
sync_list(:tools)
end
|