MCPcopy Index your code
hub / github.com/coder/coder / state

Method state

cli/state.go:14–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12)
13
14func (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
29func (r *RootCmd) statePull() *serpent.Command {
30 var buildNumber int64

Callers 1

CoreSubcommandsMethod · 0.95

Calls 2

statePullMethod · 0.95
statePushMethod · 0.95

Tested by

no test coverage detected