← Back to issue list

cli: new UI and internal refactor

View original Github issue

Metadata

Project
snapcraft
Number
#1307
Type
pull request
State
merged
Author
sergiusens
Labels
Created
Updated
Closed

Current evaluation

Merged a complete CLI rewrite using Click, decoupling the library and command-line interface. Approved by a maintainer, passed CI checks, and modified 70 files. Diff coverage reached 98.07%.

Suggested action:

No scores available.

Issue body

This introduces a completely rewritten CLI for snapcraft based on click. This is the first step in decoupling library and cli for snapcraft. Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged a complete CLI rewrite using Click, decoupling the library and command-line interface. Approved by a maintainer, passed CI checks, and modified 70 files. Diff coverage reached 98.07%.
qwen3.6-35b-a3b-mtp-q6 Merged into master. Replaces the CLI with a Click-based implementation and refactors internals to decouple the library from command-line logic. Approved after passing integration tests and minor reviewer adjustments.
qwen3.6-35b-a3b-mtp-q6 Merged a complete CLI rewrite using Click and internal refactoring to decouple the library and CLI. Integration tests were updated, review feedback addressed, and the branch was merged to master with 98% diff coverage.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#2742 cli: use click utilities for login prompts snapcraft merged Merged refactoring of CLI login prompts to use Click utilities. Approved by one reviewer, the change modified 20 files with a net reduction of 108 lines. Six unresolved review comments were present at merge.
73%