# zsh-automated-actions Oh-my-zsh plugin providing aliases for the [automated-actions](https://github.com/app-sre/automated-actions) CLI. ## Requirements - [oh-my-zsh](https://ohmyz.sh/) - [automated-actions CLI](https://github.com/app-sre/automated-actions) installed and available in your `$PATH` ## Installation Clone this repo into your oh-my-zsh custom plugins directory: ```zsh git clone https://github.com/dnoceda/zsh-automated-actions ~/.oh-my-zsh/custom/plugins/automated-actions ``` Then add `automated-actions` to your plugins list in `~/.zshrc`: ```zsh plugins=(... automated-actions) ``` Reload your shell: ```zsh source ~/.zshrc ``` ## Aliases | Alias | Command | Description | |-------|---------|-------------| | `aa` | `automated-actions` | Base command | | `aals` | `automated-actions action-list` | List all actions | | `aalsp` | `automated-actions action-list --status PENDING` | List pending actions | | `aalsr` | `automated-actions action-list --status RUNNING` | List running actions | | `aalss` | `automated-actions action-list --status SUCCESS` | List successful actions | | `aalsf` | `automated-actions action-list --status FAILURE` | List failed actions | | `aad` | `automated-actions action-detail` | Get action detail | | `aacancel` | `automated-actions action-cancel` | Cancel an action | | `aame` | `automated-actions me` | Show current user | | `aaotc` | `automated-actions openshift-trigger-cronjob` | Trigger a cronjob | | `aaowr` | `automated-actions openshift-workload-restart` | Restart a workload | | `aaowdel` | `automated-actions openshift-workload-delete` | Delete a workload | | `aardsreboot` | `automated-actions external-resource-rds-reboot` | Reboot an RDS instance | | `aardssnap` | `automated-actions external-resource-rds-snapshot` | Snapshot an RDS instance | | `aaelflush` | `automated-actions external-resource-flush-elasticache` | Flush an ElastiCache instance | | `aatoken` | `automated-actions create-token` | Create a service account token |