telepresence
telepresence copied to clipboard
Feature request: bash completion
Please consider using https://argcomplete.readthedocs.io/en/latest/ to generate an autocomplete script for bash. It's an easy win for teh fat-fingered among us :)
See also how pip 10 does it, though using argcomplete is probably a lot less work.
This issue has been automatically marked as stale because it has not had recent activity. Issue Reporter: Is this still a problem? If not, please close this issue. Developers: Do you need more information? Is this a duplicate? What's the next step?
This is still a feature we should add to Telepresence 2.
Since we're using cobra, could we leverage https://github.com/spf13/cobra/blob/master/shell_completions.md?
This feature would be greatly appreciated, and has already been implemented in kubectl
and oc
. IMO telepresence should have full feature parity with kubectl
and oc
's bash completions (e.g. tab complete service names).
Is there anything I could hack on or look into to help this effort?
@sgreene570 if you'd like to contribute, I believe you should start looking at our cobra command structure: https://github.com/telepresenceio/telepresence/tree/release/v2/pkg/client/cli