MCPcopy Create free account
hub / github.com/caarlos0/tasktimer / Execute

Method Execute

internal/cmd/root.go:19–24  ·  view source on GitHub ↗
(args []string)

Source from the content-addressed store, hash-verified

17}
18
19func (c rootCmd) Execute(args []string) {
20 c.cmd.SetArgs(args)
21 if err := c.cmd.Execute(); err != nil {
22 c.exit(1)
23 }
24}
25
26func newRootCmd(version string, exit func(int)) *rootCmd {
27 root := &rootCmd{

Callers 1

ExecuteFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected