|
|
|
|
@ -57,7 +57,7 @@ func NewConfig(configPath string) (*Config, error) {
@@ -57,7 +57,7 @@ func NewConfig(configPath string) (*Config, error) {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
type Options struct { |
|
|
|
|
FileParse string `short:"f" long:"fileparse" description:"File for parce (rss xml)" required:"true"` |
|
|
|
|
FileParse string `short:"f" long:"fileparse" description:"File for parse (rss xml)" required:"true"` |
|
|
|
|
ConfigPath string `short:"c" long:"configpath" description:"Config file path"` |
|
|
|
|
InitDB bool `short:"i" long:"initdb" description:"Run initialize from current file"` |
|
|
|
|
} |
|
|
|
|
|