feat(opentofu): add alias ttfr for tofu fmt -recursive

Signed-off-by: michael-follmann <35061945+michael-follmann@users.noreply.github.com>
This commit is contained in:
michael-follmann 2024-08-23 19:06:50 +02:00
commit 1e52d52eac
No known key found for this signature in database
GPG key ID: 08525971E1AC635C
2 changed files with 18 additions and 16 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'