Skip to content

Commit

Permalink
Update README with explicit ConfigSpec signature note
Browse files Browse the repository at this point in the history
  • Loading branch information
roman committed Apr 17, 2017
1 parent bcf6768 commit 2326fda
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,11 @@ function can accept either a JSON or YAML filepath. You can also use the
`System.Etc.parseConfigSpec` if you already gather the contents of a spec file from a
different source.

_NOTE_: When using `System.Etc.parseConfigSpec` or `System.Etc.readConfigSpec`
and the [CLI cabal feature flag is true](#cli-support), unless you use the
`System.Etc.resolveCommandCli` function, you will have to explicitly declare the
`ConfigSpec` type parameter.

### YAML support

In order to allow `etc` to read from YAML files, you will need to use the `yaml`
Expand Down

0 comments on commit 2326fda

Please sign in to comment.