Skip to content

Commit

Permalink
feat: print task by default and add new line (#3278)
Browse files Browse the repository at this point in the history
* F** print task by default and add new line

* d - add news
  • Loading branch information
guru-desh authored Nov 12, 2024
1 parent 8c1758f commit 96c59f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions news/3277.feat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Print task name by default when using `pdm run`
4 changes: 2 additions & 2 deletions src/pdm/cli/commands/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,9 +343,9 @@ def run_task(
assert isinstance(value, list)

self.project.core.ui.echo(
f"Running {task}: [success]{args}[/]",
f"Running {task}: [success]{args}[/]\n",
err=True,
verbosity=termui.Verbosity.DETAIL,
verbosity=termui.Verbosity.NORMAL,
)
if kind == "composite":
args = list(args)
Expand Down

0 comments on commit 96c59f8

Please sign in to comment.