()
| 12 | ) |
| 13 | |
| 14 | func (r *RootCmd) state() *serpent.Command { |
| 15 | cmd := &serpent.Command{ |
| 16 | Use: "state", |
| 17 | Short: "Manually manage Terraform state to fix broken workspaces", |
| 18 | Handler: func(inv *serpent.Invocation) error { |
| 19 | return inv.Command.HelpHandler(inv) |
| 20 | }, |
| 21 | Children: []*serpent.Command{ |
| 22 | r.statePull(), |
| 23 | r.statePush(), |
| 24 | }, |
| 25 | } |
| 26 | return cmd |
| 27 | } |
| 28 | |
| 29 | func (r *RootCmd) statePull() *serpent.Command { |
| 30 | var buildNumber int64 |
no test coverage detected