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