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

clab and shell completion #2358

Open
jenslink opened this issue Dec 23, 2024 · 1 comment
Open

clab and shell completion #2358

jenslink opened this issue Dec 23, 2024 · 1 comment

Comments

@jenslink
Copy link
Contributor

Containerlab has the function to create shell completion but only for the containerlab binary.
/usr/bin/clab is a link to containerlab (at least on my Debian based setup) and it would be relay nice to have shell completion for clab as well.

As a workaround, just replacing containerlab with clab in the output of containerlab completion seems to do the trick.

@jenslink
Copy link
Contributor Author

And maybe the usage message should also be changed:

_root@clab ~ # clab
deploy container based lab environments with a user-defined interconnections

Usage:
containerlab [command]_

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

No branches or pull requests

1 participant