From 3e145076abdbaf5c6e47e311b5e659251604a49b Mon Sep 17 00:00:00 2001 From: Christopher Waldon Date: Fri, 12 Oct 2018 11:30:46 -0400 Subject: [PATCH] Clarify that altsrc supports both TOML and JSON --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f2baef4f07..e2df4ec0a3 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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.