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
However it's not the case for other commands. For example, quetz make-migrations without path fails with the exception:
TypeError: expected str, bytes or os.PathLike object, not NoneType
This is partially fixed by: #644 (because of proper annotations error message is more appropriate), but still, this is not consistent, and it could be more user-friendly.
I propose to make path argument in all CLI commands optional by using Argument callback for updating the value of path to current directory and validating it using _is_deployment function.
I am ready to create a PR.
The text was updated successfully, but these errors were encountered:
quetz start
allows to omitpath
argument and fallbacks to the current directory:quetz/quetz/cli.py
Lines 538 to 542 in a189de8
However it's not the case for other commands. For example,
quetz make-migrations
withoutpath
fails with the exception:This is partially fixed by: #644 (because of proper annotations error message is more appropriate), but still, this is not consistent, and it could be more user-friendly.
I propose to make
path
argument in all CLI commands optional by using Argument callback for updating the value ofpath
to current directory and validating it using_is_deployment
function.The text was updated successfully, but these errors were encountered: