`charmcraft --help` still mentions `build` that is deprecated
Metadata
Current evaluation
Fixed and closed. The deprecated build command reference was removed from the charmcraft help output. The author confirmed the resolution with a thank you comment.
Suggested action: —
No scores available.
Issue body
In the "Starter commands" section, `build` is still mentioned despite being deprecated and replaced by `pack`:
```
$ charmcraft --help
Usage:
charmcraft [help] <command>
Summary:
Charmcraft helps build, package and publish operators on Charmhub.
Together with the Python Operator Framework, charmcraft simplifies
operator development and collaboration.
See https://charmhub.io/publishing for more information.
Global options:
-h, --help: Show this help message and exit
-v, --verbose: Show debug information and be more verbose
-q, --quiet: Only show warnings and errors, not progress
-t, --trace: Show all information needed to trace internal
behaviour
-p, --project-dir: Specify the project's directory (defaults to
current)
Starter commands:
build: Build the charm
clean: Purge project artifacts
close: Close a channel for a charm or bundle
init: Initialize a charm operator package tree and
files
names: List your registered charm and bundle names in
Charmhub
register: Register a charm name in Charmhub
release: Release a charm or bundle revision in one or
more channels
revisions: List revisions for a charm or a bundle in
Charmhub
status: Show channel and released revisions
upload: Upload a charm or bundle to Charmhub
upload-resource: Upload a resource to Charmhub
version: Show charmcraft version
Commands can be classified as follows:
Basic: analyze, build, clean, init, pack, version
Charmhub: close, create-lib, fetch-lib, list-lib, login,
logout, names, publish-lib, register, register-
bundle, release, resource-revisions, resources,
revisions, status, upload, upload-resource,
whoami
For more information about a command, run 'charmcraft help <command>'.
For a summary of all commands, run 'charmcraft help --all'.
```
```
$ charmcraft build
DEPRECATED: The build command is deprecated, use 'pack' instead.
See https://discourse.charmhub.io/t/4652#heading--dn06 for more information.
```
```
$ snap list charmcraft
Name Version Rev Tracking Publisher Notes
charmcraft 1.5.0 834 latest/stable canonical✓ classic
```
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen3.6-35b-a3b-mtp-q6 | — | — | Fixed and closed. The deprecated build command reference was removed from the charmcraft help output. The author confirmed the resolution with a thank you comment. | |
| qwen/qwen3.6-35b-a3b | — | — | Fixed. The CLI help text was updated to remove the deprecated build command from the starter commands section, replacing it with pack as intended. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | The deprecated build command reference was removed from the charmcraft help output. The issue was closed after the fix was applied. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Fixed by updating the charmcraft help output to remove the deprecated build command and reflect the current pack command. The issue was closed after the author acknowledged the resolution. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #249 `charmcraft build` will let you build a charm that won't deploy | charmcraft | closed | Closed and superseded by issue #27. The charmcraft build validation gap was consolidated into a tracking issue for implementing build-time sanity checks on config.yaml and actions.yaml. |