Sha256: 7a0aa4f98d576dc23bfd54210ffffcf74b70c71d4d2a577caa1d598f10405aa8
Contents?: true
Size: 411 Bytes
Versions: 22
Compression:
Stored size: 411 Bytes
Contents
module Bard::CLI::MasterKey def self.included mod mod.class_eval do desc "master_key --from=production --to=local", "copy master key from from to to" option :from, default: "production" option :to, default: "local" def master_key from = config[options[:from]] to = config[options[:to]] from.copy_file "config/master.key", to: end end end end
Version data entries
22 entries across 22 versions & 1 rubygems