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-21 15:48:30 +00:00
|
|
|
// TODO: Run the acceptance tests as integration tests?
|
2025-02-18 15:30:50 +00:00
|
|
|
cmd.AddCommand(newSendTelemetry())
|
2025-02-13 18:00:13 +00:00
|
|
|
return cmd
|
|
|
|
}
|