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

opts: improve the config load flag error #45

Open
jiusanzhou opened this issue Dec 18, 2020 · 0 comments
Open

opts: improve the config load flag error #45

jiusanzhou opened this issue Dec 18, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@jiusanzhou
Copy link
Owner

If we dont add opts: "-" to the complex struct on config, we will get error in installing flags, but without any output.

So, we have 2 methods to improve this:

  1. log out the error
  2. implement the nested struct flags parser
@jiusanzhou jiusanzhou added the enhancement New feature or request label Dec 18, 2020
@jiusanzhou jiusanzhou changed the title config: improve the config load flag error opts: improve the config load flag error Dec 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant