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
The idea behind call commands comes from pdm. It's a nice short-hand where you write module:func and it turns into a python call.
Some issues:
Not transparent: module:func becomes python -c 'import sys, module as _1; sys.exit(_1.func())'. The difference between what you write and what you get is pretty big.
Requires Python: Eventually I want to remove python as a dependency. This keeps it baked in.
No argument interpolation: pdm doesn't support injecting arguments into this kind of command.
No error suppression: This really is a very different kind of thing from the rest of the types of commands.
Removing this will make us a little less compatible with pdm, but it's probably worth keeping it simple.
The text was updated successfully, but these errors were encountered:
The idea behind
call
commands comes frompdm
. It's a nice short-hand where you writemodule:func
and it turns into a python call.Some issues:
module:func
becomespython -c 'import sys, module as _1; sys.exit(_1.func())'
. The difference between what you write and what you get is pretty big.pdm
doesn't support injecting arguments into this kind of command.Removing this will make us a little less compatible with
pdm
, but it's probably worth keeping it simple.The text was updated successfully, but these errors were encountered: