package logs_test import ( "os" "github.com/aws-cloudformation/rain/internal/cmd/logs" ) func Example_logs_help() { os.Args = []string{ os.Args[0], "--help", } logs.Cmd.Execute() // Output: // Shows the event log for a stack and its nested stack. Optionally, filter by a specific resource by name. // // By default, only show log entries that contain a useful message (e.g. a failure message). // You can use the --all flag to change this behaviour. // // Usage: // logs () // // Aliases: // logs, log // // Flags: // -a, --all include uninteresting logs // -h, --help help for logs }