databricks-cli/cmd/selftest/selftest.go

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
340 B
Go
Raw Normal View History

2025-02-13 18:00:13 +00:00
package selftest
import (
"github.com/spf13/cobra"
)
func New() *cobra.Command {
cmd := &cobra.Command{
2025-02-17 18:26:06 +00:00
Use: "selftest",
Short: "Non functional CLI commands that are useful for testing",
Hidden: true,
2025-02-13 18:00:13 +00:00
}
2025-02-17 18:23:02 +00:00
cmd.AddCommand(newChildCommand())
cmd.AddCommand(newParentCommand())
2025-02-18 15:30:50 +00:00
cmd.AddCommand(newSendTelemetry())
2025-02-13 18:00:13 +00:00
return cmd
}