← Back to issue list

feat: add ordered to the add_command_group API

View original Github issue

Metadata

Project
craft-application
Number
#574
Type
pull request
State
merged
Author
dariuszd21
Labels
Created
Updated
Closed

Current evaluation

Merged. Introduces an ordered parameter to the add_command_group API to persist command ordering in help output. Approved by two reviewers, passed CI and tests. Unrelated linter fixes were handled separately.

Suggested action:

No scores available.

Issue body

- [ ] Have you followed the guidelines for contributing? - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you successfully run `tox`? Allow persisting ordering in help, when commands are registered through `add_command_group` API. Linter issues are unrelated (they're from `ruff` update), fixed in #580

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged. Introduces an ordered parameter to the add_command_group API to persist command ordering in help output. Approved by two reviewers, passed CI and tests. Unrelated linter fixes were handled separately.
qwen3.6-35b-a3b-mtp-q6 Merged: Added ordered parameter to add_command_group API to persist command ordering in help output. Unrelated linter fixes were addressed in PR #580. Changes achieved full test coverage.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#196 feat: allow the application to choose the help order of commands craft-cli merged 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.
73%