Documentation ¶
Overview ¶
Example (Rainhelp) ¶
package main import ( "os" "github.com/aws-cloudformation/rain/internal/cmd/rain" ) func main() { os.Args = []string{ os.Args[0], } rain.Cmd.Execute() }
Output: Rain is a command line tool for working with AWS CloudFormation templates and stacks Usage: rain [command] Stack commands: cat Get the CloudFormation template from a running stack cc Interact with templates using Cloud Control API instead of CloudFormation deploy Deploy a CloudFormation stack or changeset from a local template logs Show the event log for the named stack ls List running CloudFormation stacks or changesets rm Delete a CloudFormation stack or changeset stackset This command manipulates stack sets. watch Display an updating view of a CloudFormation stack Template commands: bootstrap Creates the artifacts bucket build Create CloudFormation templates diff Compare CloudFormation templates fmt Format CloudFormation templates forecast Predict deployment failures merge Merge two or more CloudFormation templates pkg Package local artifacts into a template tree Find dependencies of Resources and Outputs in a local template Other Commands: completion Generate the autocompletion script for the specified shell console Login to the AWS console help Help about any command info Show your current configuration
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "rain", Long: "Rain is a command line tool for working with AWS CloudFormation templates and stacks", Version: config.VERSION, }
Cmd is the rain command's entrypoint
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.