cli

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2026 License: Apache-2.0 Imports: 49 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package cli is the kojo command line: the server and the proxy, the commands that drive a running server (run, sessions, eval, config), and the ones that work on files (doctor, setup, skills validate, schema).

Index

Constants

View Source
const (
	ExitOK     = 0
	ExitFailed = 1
	ExitUsage  = 2
	ExitInfra  = 3
)

Exit codes: 0 ok; 1 the thing asked for failed (a session, an eval, a doctor check); 2 usage or configuration; 3 infrastructure (the server or the database cannot be reached).

Variables

This section is empty.

Functions

func Main

func Main(args []string, out, errOut io.Writer) int

Main runs the CLI and returns the process exit code.

func New

func New(out, errOut io.Writer) *cobra.Command

New builds the root command.

Types

type ManifestResult added in v0.4.0

type ManifestResult struct {
	Creds *github.AppCredentials
	Err   error
}

ManifestResult is what the manifest flow's callback got from GitHub.

Jump to

Keyboard shortcuts

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