Skip to content
Snippets Groups Projects
Unverified Commit 87893da6 authored by Peter Stace's avatar Peter Stace Committed by GitHub
Browse files

Viper (set config via flags, config file, and environ vars) (#1857)

* Port over "common" flags to viper

* Switch bulk over to viper

* Fix compile error

* Port over live

* Revert part of rename -- will look at later

* Zero

* Server

* Ignore pflag.ErrHelp when pre-parsing the flags

* WIP for some debugging

* Revert "WIP for some debugging"

This reverts commit e5dbc66fe9ab62097b05287c58ed4d31557fe1bf.

* Load config file during OnInitialize callback

* Change where flags are bound

* Remove unused field in Options struct

* Get everything compiling again

* Add vendors

* More vendor

* Even more vendors (??)

* Get profiling working

* Add missing x/profile.go

* Check for extra args for all subcommands

* Better way to prevent additional args

* Make tls settings consistent

* Clean up args a bit

* Fix for uiDir

* Remove dummy conf file

* Use explicit "stopper" interface

* Search and replace for tls. -> tls_

* Fix broken flags for certs

* Update docos for configuration

* Add to changelog

* Skip failing out for tlstest for mac
parent d5ef2b67
No related branches found
No related tags found
No related merge requests found
Showing
with 592 additions and 176 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment