MCPcopy
hub / github.com/dnote/dnote / Register

Function Register

pkg/cli/cmd/root/root.go:49–51  ·  view source on GitHub ↗

Register adds a new command

(cmd *cobra.Command)

Source from the content-addressed store, hash-verified

47
48// Register adds a new command
49func Register(cmd *cobra.Command) {
50 root.AddCommand(cmd)
51}
52
53// Execute runs the main command
54func Execute() error {

Callers 1

mainFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected