2018-09-23 15:23:46 -07:00
|
|
|
// Copyright 2018 Frédéric Guillot. All rights reserved.
|
2017-11-19 21:10:04 -08:00
|
|
|
// Use of this source code is governed by the Apache 2.0
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
2018-08-24 21:51:50 -07:00
|
|
|
package config // import "miniflux.app/config"
|
2017-11-19 21:10:04 -08:00
|
|
|
|
2019-06-01 18:18:09 -07:00
|
|
|
// Opts contains configuration options after parsing.
|
|
|
|
var Opts *Options
|
2018-02-23 18:26:34 -08:00
|
|
|
|
2019-06-01 18:18:09 -07:00
|
|
|
// ParseConfig parses configuration options.
|
|
|
|
func ParseConfig() (err error) {
|
|
|
|
Opts, err = parse()
|
|
|
|
return err
|
2018-09-23 15:23:46 -07:00
|
|
|
}
|