-
Notifications
You must be signed in to change notification settings - Fork 937
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CLI: Add
lxc file
completions and fix lxc profile copy
completion…
…s (from Incus) (#14749) This PR improves completions for `lxc file` and fixes an issue with `lxc profile copy` completions. Summary of changes: - Improves remote and instance completions by only completing names based on the `toComplete` parameter. - Adds `cmpFiles` for improved `lxc file push|pull` completions. - Fixes an issue with `lxc profile copy` completions by making use of the `cmpProfiles` function. Cherry-picks from lxc/incus#1445, lxc/incus#1453 and lxc/incus#1454.
- Loading branch information
Showing
15 changed files
with
172 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.