Skip to content
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/completion: Don't hide default completion command #14474

Merged
merged 1 commit into from
Nov 16, 2024

Conversation

kadinsayani
Copy link
Contributor

@kadinsayani kadinsayani commented Nov 15, 2024

The completion command is a useful tool that includes detailed instructions for setting up completions across shell environments. Most CLI applications don't hide this by default so it's quite intuitive for a user to locate/use this command. Furthermore, the LXD snap completions are only set up for Bash shells.

With this change, running lxc completion <shell> --help shows instructions on generating completions.

The completion command is a useful tool that includes detailed
instructions for setting up completions across shell environments. Most
CLI applications don't hide this by default so it's quite intuitive for
a user to locate/use this command. Furthermore, the LXD snap completions
are only set up for Bash shells.

Signed-off-by: Kadin Sayani <kadin.sayani@canonical.com>
@tomponline tomponline merged commit 7c064af into canonical:main Nov 16, 2024
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants