Sha256: 27f336dc44bfdcef6f5b50b50910d0925854ed578be44852ae9e83a31272f8a5

Contents?: true

Size: 372 Bytes

Versions: 7

Compression:

Stored size: 372 Bytes

Contents

# frozen_string_literal: true

module Roro
  class CLI < Thor

    desc 'generate:obfuscated', 'Encrypts .smart.env files for safe storage.'
    map 'generate:obfuscated'  => 'generate_obfuscated'

    def generate_obfuscated(*environments)
      obfuscator = Roro::Crypto::Obfuscator.new
      obfuscator.obfuscate(environments, Roro::CLI.mise, '.env')
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
roro-0.3.33 lib/roro/cli/generate/generate_obfuscated.rb
roro-0.3.30 lib/roro/cli/generate/generate_obfuscated.rb
roro-0.3.28 lib/roro/cli/generate/generate_obfuscated.rb
roro-0.3.27 lib/roro/cli/generate/generate_obfuscated.rb
roro-0.3.25 lib/roro/cli/generate/generate_obfuscated.rb
roro-0.3.24 lib/roro/cli/generate/generate_obfuscated.rb
roro-0.3.23 lib/roro/cli/generate/generate_obfuscated.rb