← Back to issue list

`charmcraft test` v4.0.1 lost `--list` support

View original Github issue

Metadata

Project
charmcraft
Number
#2482
Type
issue
State
open
Author
taurus-forever
Labels
Created
2025-11-19 14:40:44+00:00
Updated
2025-11-19 14:40:44+00:00
Closed

Current evaluation

No summary available.

Suggested action:

No scores available.

Issue body

### Bug Description Hi, The `charmcraft test --list` used to work in charmcraft v3 and has lost `--list` in v4.0 ([here](https://github.com/canonical/charmcraft/pull/2385)). It was a useful wrapper for users for `spread -list`. We used it in CI as well. It would be nice to restore it. Tnx in advance! P.S. references: * https://github.com/jnsgruk/zinc-k8s-operator/pull/389/files * https://matrix.to/#/!fcfzhmtmKApekMQcxX:ubuntu.com/$rQlo3T7B4KKbixL_WSmvYkaQnNQ3LuqQhQRJuDijmTM?via=ubuntu.com&via=matrix.org * https://matrix.to/#/!fcfzhmtmKApekMQcxX:ubuntu.com/$-v1EvYDM_cs2pgxZ59AXzTaG1eLTtErCccl_SAZkuaY?via=ubuntu.com&via=matrix.org ### To Reproduce ``` > git clone https://github.com/canonical/postgresql-operator && cd postgresql-operator > charmcraft test --list Error: unrecognized arguments: --list ``` ### Environment ``` > snap list charmcraft Name Version Rev Tracking Publisher Notes charmcraft 4.0.1 7517 latest/stable canonical✓ classic ``` ### charmcraft.yaml ```yaml https://github.com/canonical/postgresql-operator/blob/main/charmcraft.yaml ``` ### Relevant log output ```shell none ```

Evaluation history

Date Model Scores Action Summary
2026-06-15 13:37:14.078362+00:00 pending