snapcraft should have a 'version' command
Bug #1590349 reported by
Mark Shuttleworth
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
Wishlist
|
Gustavo Silva |
Bug Description
'snapcraft version' should produce the same output as 'snapcraft --version'
Changed in snapcraft: | |
status: | Confirmed → Triaged |
tags: | added: bitesize ui |
Changed in snapcraft: | |
assignee: | nobody → Gustavo Silva (gsilvapt) |
Changed in snapcraft: | |
status: | Triaged → Fix Committed |
Changed in snapcraft: | |
status: | In Progress → Fix Committed |
Changed in snapcraft: | |
importance: | Undecided → Wishlist |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
based on the current command structure of the snapcraft command i would actually expect "snapcraft version" to refer to the package i create ... reading snapcraft.yaml's version field and printing it or some such.
all other non -- snapcraft options are commands referring to the snap and snap build process.
OTOH --version in my head acts as option to the snapcraft command itself and here i would expect the snapcraft version ...