Sha256: 57b574a98903457edb2ba7fce485f73d98a9fa7cc7515e25e326972f9e4849ca
Contents?: true
Size: 549 Bytes
Versions: 6
Compression:
Stored size: 549 Bytes
Contents
module HandsomeFencer module CircleCI class CLI < Thor desc "obfuscate", "obfuscates any files matching the pattern ./docker/**/*.env" def obfuscate(*args) default_environments = %w[circleci development staging production] environments = args.first ? args.first : default_environments environments.each do |environment| @cipher = HandsomeFencer::CircleCI::Crypto.new(environment: environment) @cipher.obfuscate('docker', "#{environment}.env") end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems