Sha256: 49df0742d773f5dad73099eaf89acfbd770a91043d7f31541a9b887c599636b0
Contents?: true
Size: 478 Bytes
Versions: 77
Compression:
Stored size: 478 Bytes
Contents
module Kontena::Cli::Master::Config class SetCommand < Kontena::Command include Kontena::Cli::Common requires_current_master requires_current_master_token banner "Sets a configuration value to Master" parameter "KEY_VALUE_PAIR ...", "Key/value pair, for example server.root_url=http://example.com", required: true def execute data = self.key_value_pair_list.map{ |p| p.split('=') }.to_h client.patch('config', data) end end end
Version data entries
77 entries across 77 versions & 2 rubygems