Open francoiscampbell opened 5 years ago
I agree. Filename is much more intuitive and is what most people expect when using a CLI. With a filename you can directly pass in a file path in a script without having to do any type of transformation on the name.
Some alternative solutions:
Is your feature request related to a problem? Please describe. When calling
codewatch myu_codewatch_config_module.py
, we are greeted with anImportError: No module named py
. If you know that codewatch interpretsconfig_module.py
as a Python module path, you know to remove the.py
, but if you don't it's an annoying interface.Describe the solution you'd like In the event that #85 is not accepted, or if it is accepted with a manual override for the config file, make the CLI use the filename of the config module rather than a Python module path.