Skip to content

Commit 71b133e

Browse files
author
Chris Cooper
committed
update readme
1 parent 16538f3 commit 71b133e

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,26 @@ Do you need to write a ton of CloudFormation instead of Terraform for some reaso
33

44
## Examples
55

6+
Usage
7+
8+
cf_parameter_generator --help
9+
Usage of cf_parameter_generator:
10+
-f string
11+
The file to read from to generate parameters.
12+
-inyaml
13+
Will expect input as yaml instead of json.
14+
-min
15+
If given, will generate minified output.
16+
-o string
17+
Optional: Specify a file name to write out parameters.
18+
-outyaml
19+
Will output in yaml instead of json.
20+
-overwrite
21+
By default, will update an existing parameters file with newly found parameters, but will not overwrite.
22+
-r Removes old entries from parameters found in old parameters files.
23+
-spaces int
24+
The number of spaces used to indent the file if not generating minified output. (default 2)
25+
626
Printing output to command line:
727

828
$ cf_parameter_generator -f /Users/cmc/some_cf_file.json

0 commit comments

Comments
 (0)