Help us shape the future of Go! Take the 2026 Go Developer Survey

cli

package
v0.19.10 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package cli is `orb mcp`: it configures and checks MCP servers and signs in to OAuth servers without starting a session.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, args []string, streams IO, dirs func() (cwd, agentDir string, err error), trusted func(cwd, agentDir string) bool) int

Run runs `orb mcp` with the arguments after "mcp" and returns its exit code. dirs resolves the working and agent directories; trusted reports whether the project at cwd is trusted, which admits its .orb/mcp.json.

Types

type IO

type IO struct {
	Stdin          io.Reader
	Stdout, Stderr io.Writer
	StdinTTY       bool
}

IO is the command's terminal.

Jump to

Keyboard shortcuts

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