You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think, this means we need a way to verify the config (beyond the fact that it's valid toml) and reject using it with a warning.
Issuing an error blocks the config commands, and providing a way to not use a config file is no better than the workaround described in the issue.
Maybe we can ask the user for confirmation before continuing without the config.
mdellweg
added a commit
to mdellweg/pulp-cli
that referenced
this issue
Apr 7, 2021
When the existing config file is not valid, not even editing the config file works:
In this special case,
pulp --format=json config edit
helps.In general though, if the config file fails to parse, it would be nice to get a warning and still be able to run the
pulp config ...
commands.The text was updated successfully, but these errors were encountered: