mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-15 15:05:27 +08: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
@ -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…
x
Reference in New Issue
Block a user