rain fmt
Format CloudFormation templates
Synopsis
Reads CloudFormation templates from filename arguments (or stdin if no filenames are supplied) and formats them
rain fmt <filename>...
Options
--datamodel Output the go yaml data model
--debug Output debugging information
-h, --help help for fmt
-j, --json Output the template as JSON (default format: YAML).
--node-style string Set the node output style to tagged, doublequoted, singlequoted, literal, folded, quotescalars, original, or flow
-p, --pkl Output the template as Pkl (default format: YAML).
--pkl-basic Don't use Pkl modules for output
--pkl-package string An alias or full package URI for the Pkl package for generated Pkl files (default "@cfn")
-u, --unsorted Do not sort the template's properties.
-v, --verify Check if the input is already correctly formatted and exit.
The exit status will be 0 if so and 1 if not.
-w, --write Write the output back to the file rather than to stdout.
Options inherited from parent commands
--no-colour Disable colour output
SEE ALSO
- rain -