Skip to content

Render application help for bare help options - #534

Open
lin-hongkuan wants to merge 1 commit into
python-poetry:mainfrom
lin-hongkuan:codex/root-help-option
Open

lin-hongkuan wants to merge 1 commit into
python-poetry:mainfrom
lin-hongkuan:codex/root-help-option

Conversation

@lin-hongkuan

Copy link
Copy Markdown

Fixes #249.

Summary

  • render application help for bare --help and -h invocations instead of command help for the default list command
  • update the global help option description used in command/application help output
  • refresh shell completion fixtures and add a news fragment

Tests

  • PYTHONPATH=src python -m pytest tests\test_application.py tests\commands\completion\test_completions_command.py -q
  • python -m ruff check src\cleo\application.py tests\test_application.py
  • python -m ruff format --check src\cleo\application.py tests\test_application.py
  • python -m towncrier check --compare-with origin/main

@dosubot dosubot Bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Jun 25, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

poetry -h shows help for poetry list

1 participant