Class: Jets::CLI::Dotenv::Unset

Inherits:
Set
  • Object
show all
Defined in:
lib/jets/cli/dotenv/unset.rb

Instance Attribute Summary

Attributes inherited from Base

#options

Instance Method Summary collapse

Methods inherited from Set

#option_key, #run, #ssm_manager, #ssm_method, #sure_message, #vars

Methods included from Env::Parse

#parse_cli_env_values

Methods inherited from Base

#initialize, #paginate, #paging_params, rescue_api_error

Methods included from Util::Logging

#log

Methods included from AwsServices

#apigateway, #aws_options, #cfn, #codebuild, #dynamodb, #lambda_client, #logs, #s3, #s3_resource, #sns, #sqs, #ssm, #sts, #wafv2

Methods included from AwsServices::StackStatus

#output_value, #stack_exists?

Methods included from AwsServices::GlobalMemoist

included, #reset_cache!

Methods included from Api

#api, #api_key

Constructor Details

This class inherits a constructor from Jets::CLI::Base

Instance Method Details

#namesObject



7
8
9
# File 'lib/jets/cli/dotenv/unset.rb', line 7

def names
  @options[:names]
end

#performObject



3
4
5
# File 'lib/jets/cli/dotenv/unset.rb', line 3

def perform
  ssm_manager.delete(names)
end