1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-08 06:55:28 +02:00

Specify runtime parameters in TOML format config file

In addition to specifying parameters in the command line and environment variables, you can now omit all parameters and provide a config file.

Example:

./documize myconfig.conf

Note: there is no switch setting, just provide the filename as an argument.

Fixes #243
This commit is contained in:
sauls8t 2019-04-27 16:59:10 +01:00
parent d151555597
commit 8f1bc8ce1f
26 changed files with 3791 additions and 127 deletions

9
Gopkg.lock generated
View file

@ -9,6 +9,14 @@
revision = "2fa99f4c25c422525316dcb1fd3d5b94e1944cfd"
version = "v0.37.1"
[[projects]]
digest = "1:9f3b30d9f8e0d7040f729b82dcbc8f0dead820a133b3147ce355fc451f32d761"
name = "github.com/BurntSushi/toml"
packages = ["."]
pruneopts = "UT"
revision = "3012a1dbe2e4bd1391d42b32f0577cb7bbc7f005"
version = "v0.3.1"
[[projects]]
digest = "1:606d068450c82b9ddaa21de992f73563754077f0f411235cdfe71d0903a268c3"
name = "github.com/codegangsta/negroni"
@ -302,6 +310,7 @@
analyzer-name = "dep"
analyzer-version = 1
input-imports = [
"github.com/BurntSushi/toml",
"github.com/codegangsta/negroni",
"github.com/denisenkom/go-mssqldb",
"github.com/dgrijalva/jwt-go",