Skip to content

Commit

Permalink
Merge pull request #774 from whereswaldon/patch-1
Browse files Browse the repository at this point in the history
Clarify that altsrc supports both TOML and JSON
  • Loading branch information
asahasrabuddhe committed Aug 4, 2019
2 parents e6cf83e + 81acbeb commit 7745000
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -679,6 +679,7 @@ from other file input sources.

Currently supported input source formats:
* YAML
* JSON
* TOML

In order to get values for a flag from an alternate input source the following
Expand All @@ -701,7 +702,7 @@ the yaml input source for any flags that are defined on that command. As a note
the "load" flag used would also have to be defined on the command flags in order
for this code snipped to work.

Currently only YAML and JSON files are supported but developers can add support
Currently only YAML, JSON, and TOML files are supported but developers can add support
for other input sources by implementing the altsrc.InputSourceContext for their
given sources.

Expand Down

0 comments on commit 7745000

Please sign in to comment.