mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 21:33:09 +00:00
Update terraform completion
Add completion for terraform worskpace. The terraform env command is deprecated. The terraform workspace command should be used instead. "terraform env" will be removed in a future Terraform version.
This commit is contained in:
parent
3246f736b8
commit
314f4c48fc
1 changed files with 7 additions and 0 deletions
|
@ -45,6 +45,13 @@ complete -f -c terraform -n '__fish_seen_subcommand_from env' -a select -d 'Sele
|
|||
complete -f -c terraform -n '__fish_seen_subcommand_from env' -a new -d 'Create a new environment'
|
||||
complete -f -c terraform -n '__fish_seen_subcommand_from env' -a delete -d 'Delete an existing environment'
|
||||
|
||||
### workspace
|
||||
complete -f -c terraform -n __fish_use_subcommand -a workspace -d 'Workspace management'
|
||||
complete -f -c terraform -n '__fish_seen_subcommand_from workspace' -a list -d 'List workspaces'
|
||||
complete -f -c terraform -n '__fish_seen_subcommand_from workspace' -a select -d 'Select an workspace'
|
||||
complete -f -c terraform -n '__fish_seen_subcommand_from workspace' -a new -d 'Create a new workspace'
|
||||
complete -f -c terraform -n '__fish_seen_subcommand_from workspace' -a delete -d 'Delete an existing workspace'
|
||||
|
||||
### fmt
|
||||
complete -f -c terraform -n __fish_use_subcommand -a fmt -d 'Rewrite config files to canonical format'
|
||||
complete -f -c terraform -n '__fish_seen_subcommand_from fmt' -o list -d 'List files whose formatting differs'
|
||||
|
|
Loading…
Reference in a new issue