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
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: Ubuntu 19.10
Poetry version: 1.1.4
Link of a Gist with the contents of your pyproject.toml file: N/A
Issue
The -v flag behaves in a way that is not consistent with the usage given when running poetry --help, reproduced below:
USAGE
poetry [-h] [-q] [-v [<...>]] [-V] [--ansi] [--no-ansi] [-n] <command> [<arg1>] ... [<argN>]
ARGUMENTS
<command> The command to execute
<arg> The arguments of the command
GLOBAL OPTIONS
-h (--help) Display this help message
-q (--quiet) Do not output any message
-v (--verbose) Increase the verbosity of messages: "-v" for normal output, "-vv" for more
verbose output and "-vvv" for debug
-V (--version) Display this application version
--ansi Force ANSI output
--no-ansi Disable ANSI output
-n (--no-interaction) Do not ask any interactive question
In particular, including the verbosity flag before a command will always trigger printing of the help.
19:09 [jgerity@tim /tmp/poetryproject]
$ poetry -v add coverage
USAGE
poetry help [<command1>] ... [<commandN>]
ARGUMENTS
<command> The command name
GLOBAL OPTIONS
-h (--help) Display this help message
-q (--quiet) Do not output any message
-v (--verbose) Increase the verbosity of messages: "-v" for normal output, "-vv" for more
verbose output and "-vvv" for debug
-V (--version) Display this application version
--ansi Force ANSI output
--no-ansi Disable ANSI output
-n (--no-interaction) Do not ask any interactive question
Additionally, passing a single -v after a command seems to swallow the first command argument (which will often be the only one).
I believe these may be upstream bugs in cleo or clikit, but can't tell which of those is responsible. Since it's affecting the usability of this tool, I figured it was appropriate to open a bug here.
The text was updated successfully, but these errors were encountered:
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: Ubuntu 19.10
Poetry version: 1.1.4
Link of a Gist with the contents of your pyproject.toml file: N/A
Issue
The
-v
flag behaves in a way that is not consistent with the usage given when runningpoetry --help
, reproduced below:In particular, including the verbosity flag before a command will always trigger printing of the help.
Additionally, passing a single
-v
after a command seems to swallow the first command argument (which will often be the only one).I believe these may be upstream bugs in
cleo
orclikit
, but can't tell which of those is responsible. Since it's affecting the usability of this tool, I figured it was appropriate to open a bug here.The text was updated successfully, but these errors were encountered: