snap interfaces tab completion does not find snap if it's not using any interfaces

Bug #1751307 reported by James Troup
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

If I type:

  snap interfaces kube<tab>

I'd expect it to complete to:

  snap interfaces kubectl

However, it doesn't. Presumably because it's only looking at snaps which use an interface. I'd argue it should look at all snaps for completion purposes.

This is with snapd 2.31.1 on Ubuntu 16.04.

Revision history for this message
Ian Johnson (anonymouse67) wrote :

The `snap interfaces` command is deprecated, and instead the `snap connections` command should be used. The `snap connections` command does auto-complete in this case. See:

```
$ GO_FLAGS_COMPLETION=1 snap connections go
go
```

Changed in snapd (Ubuntu):
status: New → Confirmed
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.