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
It would awesome if pdm run <task>, by default, prints the name of the task it is running without having to use the -v flag.
Problem and Solution
When running a task, it's difficult to tell exactly what command a task is running in the command line without using -v or looking at the pyproject.toml file. This problem is exacerbated in composite tasks where multiple tasks are run and an error happens in one task in the composite step -- it becomes difficult to tell where the error occured.
Other task runners (like the one that was implemented by pixi[https://github.com/prefix-dev/pixi/blob/689cf9dd70371562d936af62e87b500e0d08e6aa/src/cli/run.rs#L117] and poethepoet[https://github.com/nat-n/poethepoet/blob/909891d7c7c2e49321e097bba6f8c62e1712efd1/poethepoet/task/base.py#L596]), by default, already print the task name before running the task.
Additional Context
No response
Are you willing to contribute to the development of this feature?
Yes, I am willing to contribute to the development of this feature.
The text was updated successfully, but these errors were encountered:
Feature Description
It would awesome if
pdm run <task>
, by default, prints the name of the task it is running without having to use the-v
flag.Problem and Solution
When running a task, it's difficult to tell exactly what command a task is running in the command line without using
-v
or looking at thepyproject.toml
file. This problem is exacerbated in composite tasks where multiple tasks are run and an error happens in one task in the composite step -- it becomes difficult to tell where the error occured.Other task runners (like the one that was implemented by
pixi
[https://github.com/prefix-dev/pixi/blob/689cf9dd70371562d936af62e87b500e0d08e6aa/src/cli/run.rs#L117] andpoethepoet
[https://github.com/nat-n/poethepoet/blob/909891d7c7c2e49321e097bba6f8c62e1712efd1/poethepoet/task/base.py#L596]), by default, already print the task name before running the task.Additional Context
No response
Are you willing to contribute to the development of this feature?
The text was updated successfully, but these errors were encountered: