Class: Zonesync::CLI

Inherits:
Thor
  • Object
show all
Defined in:
lib/zonesync/cli.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.exit_on_failure?Boolean

Returns:

  • (Boolean)


17
# File 'lib/zonesync/cli.rb', line 17

def self.exit_on_failure? = true

Instance Method Details

#generateObject



13
14
15
# File 'lib/zonesync/cli.rb', line 13

def generate
  Zonesync.generate
end

#syncObject



8
9
10
# File 'lib/zonesync/cli.rb', line 8

def sync
  Zonesync.call dry_run: options[:dry_run]
end