snapcraft close should complain early with one argument

Bug #1735800 reported by Adam Collard on 2017-12-01
This bug affects 2 people
Affects Status Importance Assigned to Milestone

Bug Description

I find myself accidentally omitting the snap name quite often with snapcraft and didn't notice my mistake when attempting to close a branch using:

⟫ snapcraft close edge/bump-20
Your account lacks permission to close channels for this snap. Make sure the logged in account has upload permissions on 'edge/bump-20' in series '16'.

snapcraft knows that 'close' needs at least two arguments and additionally it should know that '/' is not a valid character for a snap name. By applying this knowledge, snapcraft could help me realise my typo.

Bonus points if it inspects the current directory for a snapcraft.yaml and suggests the right command to me.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers