Class: Bim::Subcommands::Sync
- Inherits:
-
Thor
- Object
- Thor
- Bim::Subcommands::Sync
- Defined in:
- lib/bim/subcommands/sync.rb
Overview
Sync class defines subcommands
Instance Method Summary collapse
Instance Method Details
#failover_state ⇒ Object
28 29 30 |
# File 'lib/bim/subcommands/sync.rb', line 28 def failover_state puts Bim::Action::Sync.failover_state end |
#state ⇒ Object
20 21 22 |
# File 'lib/bim/subcommands/sync.rb', line 20 def state puts Bim::Action::Sync.state end |
#to_group(group) ⇒ Object
12 13 14 |
# File 'lib/bim/subcommands/sync.rb', line 12 def to_group(group) puts Bim::Action::Sync.sync!(group, overwrite: .key?(:overwrite)) end |