← Back to issue list

feat: allow the application to choose the help order of commands

View original Github issue

Metadata

Project
craft-cli
Number
#196
Type
pull request
State
merged
Author
lengau
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #196 as commit a88b353, adding application-configurable command help order and fixing #195.

Resolution: closed resolved

Reason: PR #196 was approved and merged into main as commit a88b353, implementing application-configurable command help ordering requested in #195.

Evaluated by: mr-cal-bot

No scores available.

Issue body

fixes #195 - [x] Have you followed the guidelines for contributing? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [x] Have you successfully run `tox`?

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #196 as commit a88b353, adding application-configurable command help order and fixing #195.
stealth/space-bunny-alpha — closed resolved Merged into main as a88b353, adding application-configurable command help ordering and resolving #195.
stealth/space-bunny-alpha — closed resolved Merged into main as commit a88b353, adding application-configurable command help order and resolving issue #195.
qwen/qwen3.6-35b-a3b — — Merged to main, resolving issue #195. The feature allows applications to customize command help order. Approved by one reviewer, passed CI, and achieved 100% diff coverage. A reviewer requested a shorter commit message before merging.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/craft-cli#195 (confidence 100%)

    The merged PR explicitly fixes the command-order configurability issue.

Related issues

Issue Project State Summary Similarity
#195 Allow the application to choose the order of commands within a command group craft-cli closed Implemented via merged PR #196 (commit a88b353): added CommandGroup.ordered flag so apps can keep declared command order in help output instead of alphabetising; issue closed as resolved.
76%
#574 feat: add ordered to the add_command_group API craft-application merged PR #574 by dariuszd21 was merged as commit 46ee5405, adding an `ordered` keyword argument to Application.add_command_group so command ordering in help output can be persisted; approved with 2 reviewers.
72%
#145 feat: customise command config craft-application merged Merged PR #145 added overridable command configuration via Application.app_config, fixing #125; merged as commit 08220107.
71%