MCPcopy Create free account
hub / github.com/git-bug/git-bug / runBugTitle

Function runBugTitle

commands/bug/bug_title.go:25–36  ·  view source on GitHub ↗
(env *execenv.Env, args []string)

Source from the content-addressed store, hash-verified

23}
24
25func runBugTitle(env *execenv.Env, args []string) error {
26 b, _, err := ResolveSelected(env.Backend, args)
27 if err != nil {
28 return err
29 }
30
31 snap := b.Snapshot()
32
33 env.Out.Println(snap.Title)
34
35 return nil
36}

Callers 1

newBugTitleCommandFunction · 0.85

Calls 3

ResolveSelectedFunction · 0.85
SnapshotMethod · 0.80
PrintlnMethod · 0.65

Tested by

no test coverage detected