1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-22 15:36:24 +08:00

feat(terraform): add fmt -recursive alias (#12637)

This commit is contained in:
michael-follmann 2024-09-05 19:52:39 +02:00 committed by GitHub
parent 2acfe1aa0e
commit e6380085f3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 35 additions and 31 deletions

View File

@ -15,22 +15,23 @@ plugins=(... opentofu)
## Aliases ## Aliases
| Alias | Command | | Alias | Command |
| ----- | --------------- | |--------|-----------------------|
| `tt` | `tofu` | | `tt` | `tofu` |
| `tta` | `tofu apply` | | `tta` | `tofu apply` |
| `ttc` | `tofu console` | | `ttc` | `tofu console` |
| `ttd` | `tofu destroy` | | `ttd` | `tofu destroy` |
| `ttf` | `tofu fmt` | | `ttf` | `tofu fmt` |
| `tti` | `tofu init` | | `ttfr` | `tofu fmt -recursive` |
| `tto` | `tofu output` | | `tti` | `tofu init` |
| `ttp` | `tofu plan` | | `tto` | `tofu output` |
| `ttv` | `tofu validate` | | `ttp` | `tofu plan` |
| `tts` | `tofu state` | | `ttv` | `tofu validate` |
| `ttsh`| `tofu show` | | `tts` | `tofu state` |
| `ttr` | `tofu refresh` | | `ttsh` | `tofu show` |
| `ttt` | `tofu test` | | `ttr` | `tofu refresh` |
| `ttws`| `tofu workspace`| | `ttt` | `tofu test` |
| `ttws` | `tofu workspace` |
## Prompt functions ## Prompt functions

View File

@ -32,6 +32,7 @@ alias tta='tofu apply'
alias ttc='tofu console' alias ttc='tofu console'
alias ttd='tofu destroy' alias ttd='tofu destroy'
alias ttf='tofu fmt' alias ttf='tofu fmt'
alias ttfr='tofu fmt -recursive'
alias tti='tofu init' alias tti='tofu init'
alias tto='tofu output' alias tto='tofu output'
alias ttp='tofu plan' alias ttp='tofu plan'

View File

@ -15,21 +15,22 @@ plugins=(... terraform)
## Aliases ## Aliases
| Alias | Command | | Alias | Command |
| ------ | ------------------------- | |--------|----------------------------|
| `tf` | `terraform` | | `tf` | `terraform` |
| `tfa` | `terraform apply` | | `tfa` | `terraform apply` |
| `tfc` | `terraform console` | | `tfc` | `terraform console` |
| `tfd` | `terraform destroy` | | `tfd` | `terraform destroy` |
| `tff` | `terraform fmt` | | `tff` | `terraform fmt` |
| `tfi` | `terraform init` | | `tffr` | `terraform fmt -recursive` |
| `tfiu` | `terraform init -upgrade` | | `tfi` | `terraform init` |
| `tfo` | `terraform output` | | `tfiu` | `terraform init -upgrade` |
| `tfp` | `terraform plan` | | `tfo` | `terraform output` |
| `tfv` | `terraform validate` | | `tfp` | `terraform plan` |
| `tfs` | `terraform state` | | `tfv` | `terraform validate` |
| `tft` | `terraform test` | | `tfs` | `terraform state` |
| `tfsh` | `terraform show` | | `tft` | `terraform test` |
| `tfsh` | `terraform show` |
## Prompt function ## Prompt function

View File

@ -20,6 +20,7 @@ alias tfa='terraform apply'
alias tfc='terraform console' alias tfc='terraform console'
alias tfd='terraform destroy' alias tfd='terraform destroy'
alias tff='terraform fmt' alias tff='terraform fmt'
alias tffr='terraform fmt -recursive'
alias tfi='terraform init' alias tfi='terraform init'
alias tfiu='terraform init -upgrade' alias tfiu='terraform init -upgrade'
alias tfo='terraform output' alias tfo='terraform output'