Class: Jets::CLI::Bootstrap
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#initialize, #paginate, #paging_params, rescue_api_error
Methods included from Util::Logging
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
Methods included from AwsServices::GlobalMemoist
Methods included from Api
Constructor Details
This class inherits a constructor from Jets::CLI::Base
Instance Method Details
#are_you_sure? ⇒ Boolean
8 9 10 11 |
# File 'lib/jets/cli/bootstrap.rb', line 8 def are_you_sure? return if @options[:yes] sure?("Will bootstrap #{stack_name.color(:green)}") end |
#run ⇒ Object
3 4 5 6 |
# File 'lib/jets/cli/bootstrap.rb', line 3 def run are_you_sure? Jets::Cfn::Bootstrap.new(@options).run end |
#stack_name ⇒ Object
13 14 15 |
# File 'lib/jets/cli/bootstrap.rb', line 13 def stack_name Jets::Names.parent_stack_name end |