Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to specify configuration file on command line #76

Open
sivann opened this issue Jun 8, 2018 · 1 comment
Open

Not able to specify configuration file on command line #76

sivann opened this issue Jun 8, 2018 · 1 comment

Comments

@sivann
Copy link

sivann commented Jun 8, 2018

Unless I'm missing something obvious, I can't find a way to specify configuration file on command line like
app -conf config.toml

Using the flags package on top of multiconfig breaks the helpfile and produces a "flag provided but not defined".

@markx
Copy link

markx commented Jan 29, 2019

This library creates flags according to your config struct. It seems that your config struct doesn't have a conf field, hence the error "flag provided but not defined".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants