Class: Sekrit::CLI
Instance Method Summary collapse
Instance Method Details
#pull ⇒ Object
47 48 49 50 51 52 53 54 55 56 57 58 59 |
# File 'lib/sekrit.rb', line 47 def pull configure_logger(verbose: [:verbose]) driver = lambda do |bundle_id, config, passphrase| Pull.new( bundle_id: bundle_id, config: config, passphrase: passphrase ) end runner = Runner.new(name: 'Pull', options: , driver: driver) runner.run end |
#push ⇒ Object
27 28 29 30 31 32 33 34 35 36 37 38 39 |
# File 'lib/sekrit.rb', line 27 def push configure_logger(verbose: [:verbose]) driver = lambda do |bundle_id, config, passphrase| Push.new( bundle_id: bundle_id, config: config, passphrase: passphrase ) end runner = Runner.new(name: 'Push', options: , driver: driver) runner.run end |