package deploy_test import ( "os" "github.com/aws-cloudformation/rain/internal/cmd/deploy" ) func Example_deploy_help() { os.Args = []string{ os.Args[0], "--help", } deploy.Cmd.Execute() // Output: // Creates or updates a CloudFormation stack named from the template file