Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/holgerkoser/gardenctl
zsh gardenctl plugin
https://github.com/holgerkoser/gardenctl
Last synced: about 2 months ago
JSON representation
zsh gardenctl plugin
- Host: GitHub
- URL: https://github.com/holgerkoser/gardenctl
- Owner: holgerkoser
- License: apache-2.0
- Created: 2022-02-20T21:12:48.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-02-20T21:22:22.000Z (over 2 years ago)
- Last Synced: 2024-01-25T17:36:10.008Z (4 months ago)
- Language: Shell
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-zsh-plugins - gardenctl - Tab completions for the [Gardener](https://github.com/gardener/gardenctl-v2) command-line interface, as well as some aliases for common gardenctl commands (Completions / ZSH on Windows)
- awesome-zsh-plugins - gardenctl - Tab completions for the [Gardener](https://github.com/gardener/gardenctl-v2) command-line interface, as well as some aliases for common gardenctl commands (Completions / ZSH on Windows)
- fucking-awesome-zsh-plugins - gardenctl - Tab completions for the <b><code> 23⭐</code></b> <b><code> 18🍴</code></b> [Gardener](https://github.com/gardener/gardenctl-v2)) command-line interface, as well as some aliases for common gardenctl commands (Completions / ZSH on Windows)
README
# Gardenctl plugin
This plugin adds completion for the [Gardener command-line interface](https://github.com/gardener/gardenctl-v2),
as well as some aliases for common gardenctl commands. If no TERM_SESSION_ID environment variable is defined it generates a uuid and exports it as GCTL_SESSION_ID.To use it, add `gardenctl` to the plugins array in your zshrc file:
```zsh
plugins=(... gardenctl)
```## Aliases
| Alias | Command | Description |
|:--------|:---------------------------------------|:-------------------------------------------|
| g | `gardenctl` | The gardenctl command |
| gtv | `gardenctl target view -o yaml` | Show the current target |
| gtc | `gardenctl target control-plane` | Target the control-plane of a shoot |
| gtc- | `gardenctl target unset control-plane` | Target the shoot of a control-plane |
| gk | `eval $(gardenctl kubectl-env zsh)` | Configure kubetcl environment |
| gp | `eval $(gardenctl kubectl-env zsh)` | Configure cloud provider CLI environment |
| gcv | `gardenctl config view -o yaml` | Show gardenctl configuration |