Quotes required to use the built-in help command with a nested subcommand
@SAY-5 ci sta già lavorando.
Dal 13/5/2026.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 45/100
Direzione di ricerca
Reproduce the behavior with poetry help env, poetry help env use, and poetry help "env use" on the reported Poetry 1.2.0 setup. Trace the built-in help command's handling of nested subcommands; done means poetry help env use displays the same command help without requiring quotes.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
- 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 (
-vvvoption).
- OS version and name: Ubuntu 22.04
- Poetry version: 1.2.0
- Link of a Gist with the contents of your pyproject.toml file: NOT RELEVANT
Issue
After installing poetry via curl -sSL https://install.python-poetry.org | python3 - when running
$ poetry help env
the following error occurs:
The command "env" does not exist.
Did you mean one of these?
env use
env info
env list
env remove
When running
$ poetry help env use
the exact same error occurs.
When running
$ poetry help "env use"
the help message is shown correctly:
Description:
Activates or creates a new virtualenv for the current project.
Usage:
env use [options] [--] <python>
Arguments:
python The python executable to use.
Options:
-h, --help Display help for the given command. When no command is given display help for the list command.
-q, --quiet Do not output any message.
-V, --version Display this application version.
--ansi Force ANSI output.
--no-ansi Disable ANSI output.
-n, --no-interaction Do not ask any interactive question.
--no-plugins Disables plugins.
--no-cache Disables Poetry source caches.
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug.
- Lingua principale
- Python
- Stelle
- 1.4k
- Fork
- 103
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di python-poetry/cleo
-
question
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
python-poetry/cleo#471 · 2 commenti ·
-
feature
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
python-poetry/cleo#467 · 1 reazione ·
-
Poetry run doesn't work with --directory=Forse già presa @DSeaStar l’ha presa 56 giorni fa. Apertabug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
python-poetry/cleo#434 · 1 commento ·
-
Support for clink completionApertafeature
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
python-poetry/cleo#433 · 4 commenti ·
-
Formatter's `is_decorated` property is temporarily disabled during `remove_format` breaking concurrent threadsForse già presa @ShipItAndPray l’ha presa 165 giorni fa. Apertabug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 40/100
python-poetry/cleo#423 · 9 commenti ·
Tutte le issue di python-poetry/cleo
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
mishraprafful/multihull#150 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
python-caldav/caldav#735 ·
I maintainer di solito rispondono entro 1 giorno
-
bug triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
mealie-recipes/mealie#8682 ·
I maintainer di solito rispondono entro 1 giorno
-
good first issue lane:repo
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100