Sha256: c4f501e70a7289ab2f262a54cdd8fa370aaffa914e30f182dcbe951f6254fcb9

Contents?: true

Size: 346 Bytes

Versions: 7

Compression:

Stored size: 346 Bytes

Contents

module Roro
  class CLI < Thor
    desc "generate:exposed", "Decrypts .smart.env.enc files for all environments or those specified."
    map "generate:exposed"  => "generate_exposed"

    def generate_exposed(*environments)
      exposer = Roro::Crypto::Exposer.new
      exposer.expose(environments, Roro::CLI.mise, '.env.enc')
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

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