MCPcopy Create free account
hub / github.com/commander-cli/commander / duration

Method duration

pkg/output/cli_template.go:76–79  ·  view source on GitHub ↗
(result runtime.Result)

Source from the content-addressed store, hash-verified

74}
75
76func (t cliTemplate) duration(result runtime.Result) string {
77 tpl := t.getTemplatedString("duration", result)
78 return tpl.String()
79}
80
81func (t cliTemplate) summary(result runtime.Result) string {
82 tpl := t.getTemplatedString("summary", result)

Callers 1

PrintSummaryMethod · 0.80

Calls 1

getTemplatedStringMethod · 0.95

Tested by

no test coverage detected