Sha256: 6591b5fe0535f4afd274c5abe0331567823034c7228c3456f6ca5dc9e71d0069
Contents?: true
Size: 395 Bytes
Versions: 4
Compression:
Stored size: 395 Bytes
Contents
class Jets::CLI::Env class Unset < Set def run are_you_sure? puts "Unsetting env vars for #{@lambda_function.name}" @lambda_function.environment_variables = environment_variables Jets::CLI::Tip.show(:env_change) end def environment_variables @options[:names].each_with_object({}) do |name, hash| hash[name] = nil end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
jets-6.0.5 | lib/jets/cli/env/unset.rb |
jets-6.0.4 | lib/jets/cli/env/unset.rb |
jets-6.0.3 | lib/jets/cli/env/unset.rb |
jets-6.0.2 | lib/jets/cli/env/unset.rb |