Closed Dragomir-Ivanov closed 4 years ago
I think it's totally reasonable to have an option to control this behavior, e.g. func WithAllowMissingConfigFile(allow bool) Option — default false to preserve current behavior.
Thanks @peterbourgon . Will make a PR in next couple of days. Cheers!
@Dragomir-Ivanov it seems that you've implemented said functionality. Are you still willing and able to submit a PR?
Oops, this is done, the issue should have been closed.
I see. My mistake. Carry on, @Dragomir-Ivanov!
No worries @johnrichardrinehart. Cheers!
Currently if
ff
is configured for using config file:And if that config file is missing,
Parse
fails. However it might be perfectly valid state, using defaults for the flags, and failing only if there is no default value for given flag.