Class: Djin::CLI::RemoteConfig::Clear

Inherits:
Dry::CLI::Command
  • Object
show all
Defined in:
lib/djin/cli.rb

Instance Method Summary collapse

Instance Method Details

#call(all:) ⇒ Object



60
61
62
63
64
# File 'lib/djin/cli.rb', line 60

def call(all:)
  return Djin.remote_config_repository.clear_all if all

  Djin.remote_config_repository.clear
end