MCPcopy Create free account
hub / github.com/MiniCodeMonkey/chief / runStatus

Function runStatus

cmd/chief/main.go:300–312  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

298}
299
300func runStatus() {
301 opts := cmd.StatusOptions{}
302
303 // Parse arguments: chief status [name]
304 if len(os.Args) > 2 && !strings.HasPrefix(os.Args[2], "-") {
305 opts.Name = os.Args[2]
306 }
307
308 if err := cmd.RunStatus(opts); err != nil {
309 fmt.Fprintf(os.Stderr, "Error: %v\n", err)
310 os.Exit(1)
311 }
312}
313
314func runUpdate() {
315 if err := cmd.RunUpdate(cmd.UpdateOptions{

Callers 1

mainFunction · 0.85

Calls 1

RunStatusFunction · 0.92

Tested by

no test coverage detected