fix: show help on wraper commands (#4402)

This commit is contained in:
Garrett Delfosse
2022-10-06 20:15:28 +00:00
committed by GitHub
parent f5df54831a
commit a89d6909b2
8 changed files with 24 additions and 0 deletions
+3
View File
@@ -17,6 +17,9 @@ func state() *cobra.Command {
cmd := &cobra.Command{
Use: "state",
Short: "Manually manage Terraform state to fix broken workspaces",
RunE: func(cmd *cobra.Command, args []string) error {
return cmd.Help()
},
}
cmd.AddCommand(statePull(), statePush())
return cmd