bootstrap

package
v1.8.2-alpha1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2024 License: Apache-2.0 Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Example (Bootstrap_help)
package main

import (
	"os"

	"github.com/aws-cloudformation/rain/internal/cmd/bootstrap"
)

func main() {
	os.Args = []string{
		os.Args[0],
		"--help",
	}

	bootstrap.Cmd.Execute()
	// Creates a s3 bucket to hold all the artifacts generated and referenced by rain cli

	// Usage:
	//   rain bootstrap

	// Aliases:
	//   bootstrap, bootstrap

	// Flags:
	//       --debug            Output debugging information
	//   -h, --help             help for bootstrap
	//       --no-colour        Disable colour output
	//   -p, --profile string   AWS profile name; read from the AWS CLI configuration file
	//   -r, --region string    AWS region to use
	//   -y, --yes              creates the bucket in the account without any user confirmation
}

Index

Examples

Constants

This section is empty.

Variables

View Source
var Cmd = &cobra.Command{
	Use:                   "bootstrap",
	Short:                 "Creates the artifacts bucket",
	Long:                  "Creates a s3 bucket to hold all the artifacts generated and referenced by rain cli",
	Args:                  cobra.MaximumNArgs(0),
	Aliases:               []string{"bootstrap"},
	DisableFlagsInUseLine: true,
	Run: func(cmd *cobra.Command, args []string) {
		s3.RainBucket(force)
	},
}

Cmd is the bootstrap command's entrypoint

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL