cli: update craft-cli to comply with UX guidelines
Metadata
Current evaluation
Merged into main. Updated craft-cli to align with UX guidelines for CLI verbosity, standardizing stdout and stderr output while reducing debug noise. Added a hidden -t/--trace flag for debug mode. Approved and passed CI.
Suggested action: —
No scores available.
Issue body
Craft-cli 1.0.0 updates CLI verbosity levels to follow the UX standard
to be used across *craft tools. It makes output to stdout and stderr more
consistent and makes the verbose output less verbose by removing debug
messages and timestamps.
Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com>
- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] Have you successfully run `make lint`?
- [ ] Have you successfully run `pytest tests/unit`?
-----
CRAFT-1144
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged into main. Updated craft-cli to align with UX guidelines for CLI verbosity, standardizing stdout and stderr output while reducing debug noise. Added a hidden -t/--trace flag for debug mode. Approved and passed CI. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged into main. Updated craft-cli to align with UX guidelines by standardizing verbosity and output handling. Added a hidden -t/--trace debug flag with a deprecation warning. Minor coverage decrease was accepted. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged craft-cli 1.0.0 update aligning CLI verbosity with UX standards. Standardized stdout and stderr output, removed debug messages and timestamps from verbose logs, and added a hidden -t/--trace flag for debug mode with a deprecation warning. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #126 main: rename debug option to trace for consistency (CRAFT-513) | craft-parts | merged | Merged a change renaming the craft-parts CLI debug option to --trace for consistency with future craft tools. Approved by two reviewers, passed CI, and applied with a minimal two-line update. | |
| #801 Adapted project to the new Craft CLI verbosity levels (CRAFT-1143). | charmcraft | merged | Merged after approvals and CI. Updates logging to debug, switches to progress/permanent messages, simplifies startup via --verbosity, initializes emit in BRIEF mode, and refreshes dependencies to match new Craft CLI verbosity levels. |