Sync class defines subcommands
28 29 30
# File 'lib/bim/subcommands/sync.rb', line 28 def failover_state puts Bim::Action::Sync.failover_state end
20 21 22
# File 'lib/bim/subcommands/sync.rb', line 20 def state puts Bim::Action::Sync.state end
12 13 14
# File 'lib/bim/subcommands/sync.rb', line 12 def to_group(group) puts Bim::Action::Sync.sync!(group, overwrite: options.key?(:overwrite)) end