cli

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiscoverPlugins

func DiscoverPlugins()

In Python, this dynamically imports plugins. In Go, since it is a compiled language, plugins are imported anonymously in main.go (e.g., _ "github.com/cavos-io/rtp-agent/adapter/openai"). This function exists for structural parity.

func RunApp

func RunApp(server *worker.AgentServer)

func RunWithDevMode

func RunWithDevMode(args []string) error

Types

type CliArgs

type CliArgs struct {
	LogLevel  string
	URL       string
	APIKey    string
	APISecret string
	DevMode   bool
}

type Watcher

type Watcher struct {
	// contains filtered or unexported fields
}

func NewWatcher

func NewWatcher(paths []string, onChange func()) *Watcher

func (*Watcher) Start

func (w *Watcher) Start() error

func (*Watcher) Stop

func (w *Watcher) Stop() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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