snap info will complete against "any snap name", meaning it will complete directories (so you can find .snaps or directories that have a meta/snap.yaml), installed snaps, and remote snaps. This isn't a priority order, but the remote snaps will only complete if you give it at least three characters to search for (this is the only part that is weird I think, but knowing it also allows you to cheat). It seems to work well for me: having the 'http' snap installed, in a directory with a 'httputil' subdirectory, 'snap info ht<tab>' completes to http and a second tab will offer http, httpstat, and httputil/, as expected. Having rocketchat-server installed, "snap info ro<tab>" offers rocketchat-server, whereas "snap info roc<tab>" only completes as far as rocketchat- because of it now also doing a remote search and finding more stuff.
I'll look into making snap interfaces complete; I thought that was done already (it's probably going to be a two-liner diff to make it work, as the completion logic is already done for connect)
And snap run should be doable :-) I'll get on it in a bit. I think it's the only one completing on snap.app so it'll be more work.
snap info will complete against "any snap name", meaning it will complete directories (so you can find .snaps or directories that have a meta/snap.yaml), installed snaps, and remote snaps. This isn't a priority order, but the remote snaps will only complete if you give it at least three characters to search for (this is the only part that is weird I think, but knowing it also allows you to cheat). It seems to work well for me: having the 'http' snap installed, in a directory with a 'httputil' subdirectory, 'snap info ht<tab>' completes to http and a second tab will offer http, httpstat, and httputil/, as expected. Having rocketchat-server installed, "snap info ro<tab>" offers rocketchat-server, whereas "snap info roc<tab>" only completes as far as rocketchat- because of it now also doing a remote search and finding more stuff.
I'll look into making snap interfaces complete; I thought that was done already (it's probably going to be a two-liner diff to make it work, as the completion logic is already done for connect)
And snap run should be doable :-) I'll get on it in a bit. I think it's the only one completing on snap.app so it'll be more work.