3 Commits

Author SHA1 Message Date
John Lenton
ba27d6ada4 overlord/snapstate: support completion for command aliases (#4154)
This makes the code that manages command aliases aware of completion
support needs. That is: on alias CRUD, also CRUD the appropriate
symlinks for the completion snippets of the aliases.

For example, if you have a snap foo that has an app bar, and
foo.bar has a completer keyword in the yaml, then typing
foo.bar <tab> in bash will offer you completion via that snippet. If
you then snap alias foo.bar bar you'd expect to see the same
completion suggestions. This PR hooks things up so that you would, in
fact, get them.

This is invisible to the snap author -- the command completer
gets the original, unaliased completion request.
2017-11-14 17:14:32 +00:00
Michael Vogt
99b6109168 rename complexion to test-snapd-complexion 2017-08-29 12:21:26 +02:00
John R. Lenton
cd2573a3fd in-snap tab completion. 2017-04-25 13:00:51 +01:00