-
Notifications
You must be signed in to change notification settings - Fork 931
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lxc: Improved cli completions (from Incus) #13959
lxc: Improved cli completions (from Incus) #13959
Conversation
35a723e
to
76e6efe
Compare
76e6efe
to
35a723e
Compare
2a669dc
to
5dadac3
Compare
4ddb7c5
to
5dadac3
Compare
Signed-off-by: Adam Stephens <adam@valkor.net> (cherry picked from commit 9c771d896a3fd2ed81627e64c6d9d1577a63213c) Signed-off-by: Kadin Sayani <kadin.sayani@canonical.com> License: Apache-2.0
Fixes lxc/incus#588 Signed-off-by: montag451 <montag451@laposte.net> (cherry picked from commit c9dc811c50dddab5c8bbb5d05d109e837383acfc) Signed-off-by: Kadin Sayani <kadin.sayani@canonical.com> License: Apache-2.0
Signed-off-by: Adam Stephens <adam@valkor.net> (cherry picked from commit dbc3abaf2cb81e86c5812609651a34d59a55f1fa) Signed-off-by: Kadin Sayani <kadin.sayani@canonical.com> License: Apache-2.0
Signed-off-by: Adam Stephens <adam@valkor.net> (cherry picked from commit b1d7bc15a4b51ab513ae3a6cf6dde0e2294c98e3) Signed-off-by: Kadin Sayani <kadin.sayani@canonical.com> License: Apache-2.0
Signed-off-by: Adam Stephens <adam@valkor.net> (cherry picked from commit bd4e1c955b15e7d172d838082623e55e338cca76) Signed-off-by: Kadin Sayani <kadin.sayani@canonical.com> License: Apache-2.0
Signed-off-by: Adam Stephens <adam@valkor.net> (cherry picked from commit caeb050b4eddcb0c714e69ae64d591771da985b5) Signed-off-by: Kadin Sayani <kadin.sayani@canonical.com> License: Apache-2.0
Signed-off-by: Adam Stephens <adam@valkor.net> (cherry picked from commit 12696a775716a6b28f39a1498d4fa4ba8bd3d4c5) Signed-off-by: Kadin Sayani <kadin.sayani@canonical.com> License: Apache-2.0
Signed-off-by: Adam Stephens <adam@valkor.net> (cherry picked from commit fb959bb4aaa03533c465b118baaff1ce69435e82) Signed-off-by: Kadin Sayani <kadin.sayani@canonical.com> License: Apache-2.0
Signed-off-by: Adam Stephens <adam@valkor.net> (cherry picked from commit 714d3cdf5b1a9511b0a8305c070f5aea0d99dadc) Signed-off-by: Kadin Sayani <kadin.sayani@canonical.com> License: Apache-2.0
Signed-off-by: Adam Stephens <adam@valkor.net> (cherry picked from commit 459e9e315373517e0b26fd0ee7bbb91306aabe59) Signed-off-by: Kadin Sayani <kadin.sayani@canonical.com> License: Apache-2.0
Signed-off-by: Adam Stephens <adam@valkor.net> (cherry picked from commit 7b359e934edc6f3b170176f44f71e54ba2f638f7) Signed-off-by: Kadin Sayani <kadin.sayani@canonical.com> License: Apache-2.0
Signed-off-by: Adam Stephens <adam@valkor.net> (cherry picked from commit 8ce2a3c7c09e7ae67e180c1fbe6a879bc21a5f9a) Signed-off-by: Kadin Sayani <kadin.sayani@canonical.com> License: Apache-2.0
Signed-off-by: Adam Stephens <adam@valkor.net> (cherry picked from commit 06949bf3468105e8500fabfc839662a9d29059dd) Signed-off-by: Kadin Sayani <kadin.sayani@canonical.com> License: Apache-2.0
Signed-off-by: Stéphane Graber <stgraber@stgraber.org> (cherry picked from commit 6786970433f10fcd8687d8a3e50315444ef95965) Signed-off-by: Kadin Sayani <kadin.sayani@canonical.com> License: Apache-2.0
Signed-off-by: Kadin Sayani <kadin.sayani@canonical.com>
Closes lxc/incus#377 Signed-off-by: Stéphane Graber <stgraber@stgraber.org> (cherry picked from commit 3f9dd3bfe21d5a31eb810d21f47aafdde4ed61f0) Signed-off-by: Kadin Sayani <kadin.sayani@canonical.com> License: Apache-2.0
Signed-off-by: Kadin Sayani <kadin.sayani@canonical.com>
53efc1d
to
9bce14a
Compare
@kadinsayani @simondeziel how do I use this change locally (outside of the snap)? |
To test locally, you can run:
|
Cobra completions introduced in canonical/lxd#13959, making bash completions obsolete.
Thanks, please can you add this to the docs https://documentation.ubuntu.com/lxd/en/latest/installing/#install-lxd-from-source |
In the doc, I'd recommend putting it under the standard location: |
In the doc, would it be worth including that completion profiles can also be generated for zsh and fish even though we don't do this in the snap package? |
Yes please. In that case, I'd use the more portable |
) Documentation updates for #13959
Cherry-picked from the below PRs:
lxc/incus#357
lxc/incus#378
lxc/incus#368
lxc/incus#477
lxc/incus#490
lxc/incus#542
lxc/incus#552
lxc/incus#588
lxc/incus#597
lxc/incus#611
lxc/incus#624
lxc/incus#631
lxc/incus#643
lxc/incus#666
lxc/incus#755
lxc/incus#902