UNPKG

cfn-lint-to-codeframe

Version:

This CLI tool reads the `parseable` output from the python tool [cfn-lint][] from stdin and prints out a more human friendly output.

25 lines (15 loc) 598 B
# Code Frame output for AWS CloudFormation Linter This CLI tool reads the `parseable` output from the python tool [cfn-lint][] from stdin and prints out a more human friendly output. Example: [cfn-lint]: https://github.com/aws-cloudformation/cfn-python-lint ![An example of the CLI output](https://github.com/Graham42/cfn-lint-to-codeframe/blob/main/error-ouput.jpg?raw=true) ## Installation ```sh npm install -g cfn-lint-to-codeframe ``` ## Usage Make sure to pass `--format parseable` to `cfn-lint` ``` cfn-lint --template my-template.json --format parseable | cfn-lint-to-codeframe ```