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 deploy Deploy a CloudFormation stack from a local template logs Show the event log for the named stack ls List running CloudFormation stacks rm Delete a running CloudFormation stack watch Display an updating view of a CloudFormation stack Template commands: build Create CloudFormation templates diff Compare CloudFormation templates fmt Format CloudFormation templates merge Merge two or more CloudFormation templates tree Find dependencies of Resources and Outputs in a local template Other Commands: 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.