mirror of
https://github.com/miniflux/v2.git
synced 2025-09-15 18:57:04 +00:00
Add optional config file parser in addition to environment variables
This commit is contained in:
parent
bb720c87c1
commit
f7b7b63e3f
8 changed files with 599 additions and 251 deletions
|
@ -4,11 +4,5 @@
|
|||
|
||||
package config // import "miniflux.app/config"
|
||||
|
||||
// Opts contains configuration options after parsing.
|
||||
// Opts holds parsed configuration options.
|
||||
var Opts *Options
|
||||
|
||||
// ParseConfig parses configuration options.
|
||||
func ParseConfig() (err error) {
|
||||
Opts, err = parse()
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue