cmd

package
v0.11.0-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const PROM_ENDPOINT = "http://localhost:9000"

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "spice",
	Short: "Spice.ai CLI",
}

Functions

func CreateLoginRunFunc

func CreateLoginRunFunc(authName string, requiredFlags map[string]string, flagToTomlKeys map[string]string) func(cmd *cobra.Command, args []string)

func Execute

func Execute()

Execute adds all child commands to the root command.

Types

type DatasetRefreshApiResponse

type DatasetRefreshApiResponse struct {
	Message string `json:"message,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL