Option -v not recognised by run
See original GitHub issue- I am on the latest Poetry version.
- I have searched the issues of this repo and believe that this is not a duplicate.
- If an exception occurs when executing a command, I executed it again in debug mode (
-vvv
option).
- OS version and name: Fedora 31
- Poetry version: 1.0.5
- Link of a Gist with the contents of your pyproject.toml file:
Issue
poetry run
does not recognise the global option -v
even though it’s listed in the documentation:
$ poetry help run
USAGE
poetry run <args1> ... [<argsN>]
...
GLOBAL OPTIONS
-v (--verbose) Increase the verbosity of messages: "-v" for normal output, "-vv" for more verbose output and "-vvv" for debug
If I try to use it, I just get the help message again for the help command itself:
$ poetry -v run pserve development.ini
USAGE
poetry help [<command1>] ... [<commandN>]
...
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:8 (3 by maintainers)
Top Results From Across the Web
5 Ways to Fix the "Not Recognized as an Internal or External ...
5 Ways to Fix the "Not Recognized as an Internal or External Command" Error in Windows · Press Win + R to open...
Read more >Left Cmd + V isn't working anymore - Apple Community
A strange problem has occurred on my Macbook Pro 2011 running Sierra. Suddenly the left Cmd + V shortcut doesn't work anymore.
Read more >ng is not recognized as an internal or external command
I solved this problem in accordance with the figure: run in cmd npm install -g @angular/cli. and then. ( open in Windows 10)...
Read more >How to Fix Ctrl C / Ctrl V Not Working [Full Fix] [Clone Disk]
Step 3. In the pop-up window, tick the checkbox next to Enable Ctrl key shortcuts under the Options tab and click on OK...
Read more >How to Fix 'Pip' is Not Recognized as an Internal or External ...
Press the Windows key + R to open Run. · Type cmd and press Enter to open the command prompt. · Enter the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Additionally, when using
poetry run -v PROG ARGS
, Poetry will fail withFileNotFoundError
, since it’s trying to execute-v
.I somewhat understand why supporting
poetry run -v something
is complicated and/or not welcome. But I must say, I never understood why the global options can not be placed before the command, so thatpoetry -v run something
should be possible. It would make sense to place global flags before any specific command. I do not even know if that is true or not, I kind of gave up on trying to understand the CLI logic, it is frustratingly inconsistent to me (I know these things are deceptively hard to handle correctly):