configargparse - reading option from config only
Loris Bennett
loris.bennett at fu-berlin.de
Thu Aug 26 06:01:41 EDT 2021
Hi,
When using configargparse, it seems that if a value is to be read from a
config file, it also has to be defined as a command-line argument in
order to turn up as an attribute in the parser namespace.
I can sort of see why this is the case, but there are also some options
I would like to read just from the config file and not have them
available as command-line options. This would be, say, to prevent the
number of options on the command-line from becoming bloated by
little-used settings.
Is there an elegant way to do this?
Cheers,
Loris
--
This signature is currently under construction.
More information about the Python-list
mailing list