cmd

package
v0.0.0-...-6e6905b Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2025 License: MIT Imports: 48 Imported by: 0

Documentation

Index

Constants

View Source
const ConnectInstructions = "To sign in, navigate to:\n    https://ollama.com/connect?name=%s&key=%s\n\n"

Variables

This section is empty.

Functions

func CopyHandler

func CopyHandler(cmd *cobra.Command, args []string) error

func CreateHandler

func CreateHandler(cmd *cobra.Command, args []string) error

func DeleteHandler

func DeleteHandler(cmd *cobra.Command, args []string) error

func ListHandler

func ListHandler(cmd *cobra.Command, args []string) error

func ListRunningHandler

func ListRunningHandler(cmd *cobra.Command, args []string) error

func NewCLI

func NewCLI() *cobra.Command

func NewCreateRequest

func NewCreateRequest(name string, opts runOptions) *api.CreateRequest

func PullHandler

func PullHandler(cmd *cobra.Command, args []string) error

func PushHandler

func PushHandler(cmd *cobra.Command, args []string) error

func RunHandler

func RunHandler(cmd *cobra.Command, args []string) error

func RunServer

func RunServer(_ *cobra.Command, _ []string) error

func ShowHandler

func ShowHandler(cmd *cobra.Command, args []string) error

func SigninHandler

func SigninHandler(cmd *cobra.Command, args []string) error

func SignoutHandler

func SignoutHandler(cmd *cobra.Command, args []string) error

func StopHandler

func StopHandler(cmd *cobra.Command, args []string) error

Types

type MultilineState

type MultilineState int
const (
	MultilineNone MultilineState = iota
	MultilinePrompt
	MultilineSystem
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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