Skip to content

Commit

Permalink
feat: cli added --context to allow stdin to work with includes
Browse files Browse the repository at this point in the history
  • Loading branch information
nmccready committed Dec 17, 2020
1 parent 7f6986f commit ee33ba9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ Options:
* `--bucket` bucket name required for templates larger than 50k
* `--prefix` prefix for templates uploaded to the bucket ['cfn-include']
* `--version` print version and exit
* `--context` template full path. only utilized for stdin when the template is piped to this script
example: `cat examples/base.template | ./bin/cli.js --context examples/base.template`

`cfn-include` also accepts a template passed from stdin

Expand Down

0 comments on commit ee33ba9

Please sign in to comment.