← Back to issue list

Remove the default command

View original Github issue

Metadata

Project
craft-cli
Number
#361
Type
issue
State
open
Author
mr-cal
Labels
Created
2025-07-15 13:45:55+00:00
Updated
2026-03-02 19:15:58+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

### What needs to get done Remove support for the dispatcher's default command. ### Why it needs to get done A default command was added to craft-cli to maintain compatibility with Snapcraft. Default commands aren't a good UX practice and no other craft app supports them. Snapcraft 9 dropped support for the default command, but craft-cli still needs to provide a helpful error message: ``` Running snapcraft without a command isn't supported. Use 'snapcraft pack' instead. ``` Craft-cli can fully drop support when Snapcraft 10 (core28) is released, as this version of Snapcraft will do what the other apps do (show the help text).

Evaluation history

No evaluation history available.