Config file gets loaded when using 'pypr --help' #83
Closed
dantefromhell
started this conversation in
General
Replies: 1 comment
-
|
The plugins need to be loaded to get their commands & documentation... In you case it's a parsing error, meaning not even the plugin list can be loaded... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Not sure if this is a bug, hence discussion first. But in case this is a bug, plz convert accordingly.
With version 2.2.7, when running
pypr --helpa stacktrace will be printed in case the config file has errors in it:IMO printing the help screen should not trigger a loading of the config file, no?
Also it could IMO be good if the config parsing throws a better error message when config parsing failures happen, especially stating in which file the config parsing error occured. WDYT?
Beta Was this translation helpful? Give feedback.
All reactions