← Back to issue list

cli: update craft-cli to comply with UX guidelines

View original Github issue

Metadata

Project
snapcraft
Number
#3833
Type
pull request
State
merged
Author
cmatsuoka
Labels
—
Created
Updated
Closed

Current evaluation

Merged in snapcraft#3833 as commit 35ed040d2, updating to craft-cli 1.0.0 for shared UX verbosity, consistent output, and hidden trace debugging.

Resolution: closed resolved

Reason: PR #3833 was merged into main as commit 35ed040d2. The change adopted craft-cli 1.0.0, standardized CLI output, and added hidden -t/--trace debugging.

Evaluated by: mr-cal-bot

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
stealth/space-bunny-alpha — closed resolved Merged in snapcraft#3833 as commit 35ed040d2, updating to craft-cli 1.0.0 for shared UX verbosity, consistent output, and hidden trace debugging.
stealth/space-bunny-alpha — closed resolved PR #3833 merged as commit 35ed040d2, adopting craft-cli 1.0.0 verbosity UX standards, streamlining output, and adding hidden -t/--trace debug mode.
stealth/space-bunny-alpha — closed resolved Merged in PR #3833 (commit 35ed040d2): craft-cli 1.0.0 adopted the shared UX verbosity guidelines, streamlined output, and added hidden -t/--trace debugging.
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.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#4528 build(deps): bump craft-cli to 2.5.1 snapcraft merged Merged in ef10848a2 via #4528, upgrading craft-cli to 2.5.1 to fix malformed process-output decoding; released in Snapcraft 8.0.2.
73%
#4215 dependencies: update craft-cli to 2.0.0 snapcraft merged Merged PR #4215 (8a6fbf8, commit 421fd64ab) bumped Snapcraft's craft-cli dependency to 2.0.0 in two requirements files (+2/-2).
71%
#801 Adapted project to the new Craft CLI verbosity levels (CRAFT-1143). charmcraft merged Merged in canonical/charmcraft#801 via commit 50437400, adopting Craft CLI verbosity levels, updated output modes, BRIEF emission, simplified startup, and refreshed dependencies.
70%
#3626 cli: integrate craft-cli and add version command (CRAFT-730) snapcraft merged Merged into snapcraft 7.0 via commit 0457d6572: integrated craft-cli, added the version command, and retained the legacy CLI fallback for other commands.
70%