We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It seems from reading the hook docs that
Hooks are executed prior to the fuzzy search via $ switch or can be called directly via $ switch hooks --hook-name=.
I'd like to call a hook immediately after I picked the context. I.e. setting the right gcloud config depending on the k8s context.
Is this sth that could be easily implemented ?
i.e. adding a type key to execution ?
type
execution
kind: SwitchConfig hooks: - name: inline type: InlineCommand type: Executable path: "/home/hinricht/bin/gcloud-config.sh" execution: type: post
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It seems from reading the hook docs that
I'd like to call a hook immediately after I picked the context. I.e. setting the right gcloud config depending on the k8s context.
Is this sth that could be easily implemented ?
i.e. adding a
type
key toexecution
?The text was updated successfully, but these errors were encountered: