commands

package
v0.1.35 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2025 License: Apache-2.0 Imports: 43 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ValidBackends = map[string]bool{
	"llama.cpp": true,
	"openai":    true,
}

ValidBackends is a map of valid backends

Functions

func NewRootCmd

func NewRootCmd(cli *command.DockerCli) *cobra.Command

func RawProgress added in v0.1.31

func RawProgress(message string)

func TUIProgress

func TUIProgress(message string)

func ValidBackendsKeys added in v0.1.34

func ValidBackendsKeys() string

Types

type CommandMetadata added in v0.1.31

type CommandMetadata struct {
	Parameters []ParameterMetadata `json:"parameters"`
}

type ParameterMetadata added in v0.1.31

type ParameterMetadata struct {
	Name        string `json:"name"`
	Description string `json:"description"`
	Required    bool   `json:"required"`
	Type        string `json:"type"`
	Default     string `json:"default,omitempty"`
}

type ProviderMetadata added in v0.1.31

type ProviderMetadata struct {
	Description string          `json:"description"`
	Up          CommandMetadata `json:"up"`
	Down        CommandMetadata `json:"down"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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