-
-
Notifications
You must be signed in to change notification settings - Fork 64
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
Complicated use case #430
Comments
Can't you add fields for these two fields like other fields? what is the difference between these two fields and others? |
|
@kschwab is it possible?
It is not possible right now. you have to do some hacky workaround. take a look at #259
No, if you define a field in a settings model, then |
@hramezani, it is possible, we would need to add another annotation to denote creating a boolean flag without |
@kschwab Thanks for your response. if it is not possible to remove the |
Thank you all for the input. I have decided to go with OmegaConf instead as this gives me more flexibility. I'll close this issue. |
@hramezani, just for future clarity in case it comes up again, |
Thanks @kschwab for clarification. |
Hello, I've read the documentation, but am uncertain how I can implement the following options:
--version
to give the version.--config-file
to point to an other config file. Default should be.test.yml
,.test.yaml
.--check
a CLI only boolean flag (not in yaml)--width
can both be set on CLI or in the yml file, is default 50.--accepted-values
is a list of codes, can be set on the CLI or in the yaml file.FILENAMES
is a postional list of filenames (nargs + so to speak)I've come up with the following so far, but am unsure how to insert the
--version
and--config-file
options to do as expected:The docs are rather confusing ... .
The text was updated successfully, but these errors were encountered: