rancher / rio

Application Deployment Engine for Kubernetes
https://rio.io
Apache License 2.0
2.27k stars 228 forks source link

Add bash/zsh completion #1012

Closed daxmc99 closed 4 years ago

daxmc99 commented 4 years ago

This PR enables shell completion via urfav In order to use it, you must source the correct shell completion script in cli/autocomplete/ with the env variable PROG=rio. For example, PROG=rio source $RIO_REPO_ROOT/cli/autocomplete/bash_autocomplete

There is still more to be done in order to make this consumable by end users.

daxmc99 commented 4 years ago

@StrongMonkey PTAL 😄

StrongMonkey commented 4 years ago

@daxmc99 Will do :+1: