diff --git a/README.md b/README.md index b99c3c0..54ffc58 100644 --- a/README.md +++ b/README.md @@ -81,6 +81,22 @@ Run the following command to import roles and map them to groups: cloaksmith import-roles --client-id --realm ``` +## Enabling Completion + +### ZSH +Add this to ~/.zshrc: + +```shell +eval "$(_CLOAKSMITH_COMPLETE=zsh_source cloaksmith)" +``` + +### BASH +Add this to ~/.bashrc: + +```shell +eval "$(_CLOAKSMITH_COMPLETE=bash_source cloaksmith)" +``` + ## Extensibility Cloaksmith is designed to be easily extensible. You can add new commands or functionality by modifying the CLI or the underlying modules.