Sha256: c3e0cb3809a61c6594ea73633e8b4997c64634bdafb958ee12f2ddf3cb399879

Contents?: true

Size: 366 Bytes

Versions: 9

Compression:

Stored size: 366 Bytes

Contents

module HandsomeFencer
  module CircleCI
    class CLI < Thor

      desc "obfuscate", "obfuscate .env files inside .circleci directory"

      def obfuscate(*args)

        environment = args.first
        @cipher = HandsomeFencer::CircleCI::Crypto.new(environment: environment)
        @cipher.obfuscate('docker', "#{environment}.env")
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
handsome_fencer-circle_c_i-0.1.37 lib/handsome_fencer/circle_c_i/cli/obfuscate.rb
handsome_fencer-circle_c_i-0.1.34 lib/handsome_fencer/circle_c_i/cli/obfuscate.rb
handsome_fencer-circle_c_i-0.1.33 lib/handsome_fencer/circle_c_i/cli/obfuscate.rb
handsome_fencer-circle_c_i-0.1.32 lib/handsome_fencer/circle_c_i/cli/obfuscate.rb
handsome_fencer-circle_c_i-0.1.31 lib/handsome_fencer/circle_c_i/cli/obfuscate.rb
handsome_fencer-circle_c_i-0.1.30 lib/handsome_fencer/circle_c_i/cli/obfuscate.rb
handsome_fencer-circle_c_i-0.1.29 lib/handsome_fencer/circle_c_i/cli/obfuscate.rb
handsome_fencer-circle_c_i-0.1.28 lib/handsome_fencer/circle_c_i/cli/obfuscate.rb
handsome_fencer-circle_c_i-0.1.27 lib/handsome_fencer/circle_c_i/cli/obfuscate.rb