Skip to content

Commit

Permalink
docs: update usage
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanvc committed Aug 4, 2023
1 parent 216280c commit 04a2d1b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ Executes the template from the input applying the environment passed in options.
If you specify the input template via an option flag (-input), then it will
read it inline.
If you specify that the template comes from the stdin by setting the option flag
(-stdin), then it will read it inline from the stdin.
If you set it as the first argument, it assumes that it is a file.
(-stdin), or the first argument as "-" then it will read it inline from the stdin.
If you set it as the first argument, it assumes it is a file.
For the environment (-env) it will expect it as inline data. However, if you
For the environment (-env), it will expect it as inline data. However, if you
start it with @, it will assume it is a file. It tries to guess the format,
giving precedence to JSON, then TOML, and lastly to YAML. Unless you specify to
force parsing it via an option flag.
Expand Down

0 comments on commit 04a2d1b

Please sign in to comment.