Quotes required to use the built-in help command with a nested subcommand
@SAY-5 đang làm issue này rồi.
Từ ngày 13/5/2026.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 45/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
- 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.
- Ngôn ngữ chính
- Python
- Star
- 1.4k
- Fork
- 103
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của python-poetry/cleo
-
question
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
python-poetry/cleo#471 · 2 bình luận ·
-
feature
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
python-poetry/cleo#467 · 1 reaction ·
-
Poetry run doesn't work with --directory=Có thể đã có người làm @DSeaStar đã nhận 56 ngày trước. Đang mởbug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
python-poetry/cleo#434 · 1 bình luận ·
-
Support for clink completionĐang mởfeature
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
python-poetry/cleo#433 · 4 bình luận ·
-
Formatter's `is_decorated` property is temporarily disabled during `remove_format` breaking concurrent threadsCó thể đã có người làm @ShipItAndPray đã nhận 166 ngày trước. Đang mởbug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 40/100
python-poetry/cleo#423 · 9 bình luận ·
Tất cả issue của python-poetry/cleo
Issue tương tự
-
Performance: deprecated DeviceEntry.config_entries access blocks the event loop for tens of secondsĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
tuya/tuya_cloud_ha_bridge#14 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
semantica-agi/semantica#1968 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày
-
agent: ready area: submission priority: high type: docs
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
dkritarth/scopewatch#213 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Broken link in RELEASE.mdCó thể đã có người làm @Jah-yee đã nhận hôm nay. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
sphinx-contrib/httpdomain#143 ·
Maintainer thường phản hồi trong vòng 1 ngày