Open noirbizarre opened 4 days ago
Yes, I should have discussed it clearly with the author in the PR, but out of some laziness, I didn't.
I tend to think the five points posted here makes more sense to me. @guru-desh You should read it to understand how other users are using this feature. And I would like to know what you think of it
These 5 points make sense to me as well. I like the idea of having a user-setting control. I think that using [tool.pdm.options]
could solve this issue. For users that want to have the task name and command outputted by default, users could simply add the following to pyproject.toml
:
[tool.pdm.options]
run = ["--verbose"]
Else, users that do not want verbosity by default don't need to add this section in pyproject.toml
I think the easiest way to resolve this is by doing the following:
Thoughts?
I think the easiest way to resolve this is by doing the following:
I have no objections, either you or @noirbizarre PR welcome.
I don't mind making the PR. @noirbizarre does the proposed solution work for you?
I thought about it and I don't think tool.pdm.options
is a good approach, here's my reasoning:
pyproject.toml
is shared by and forced to all contributorstheme
are already defined in the configurationSo I made a proposal PR in #3315 (which includes a suggestion of a colleague preferring to display the help instead of task title)
Describe the bug
In 2.21, in https://github.com/pdm-project/pdm/pull/3278 more precisely, default scripts verbosity has been changed, and it breaks some existing scripts relying on output:
-q
(can represent some volume to migrate)pdm <command>
have to migrate topdm run -q <command>
to preserve output,-q
not being available on the shortcut form-v
flag do nothing moreTo reproduce
-q
Expected Behavior
One of:
(The third one is having my preference)
Environment Information
PDM version: 2.21.0 Python Interpreter: