cli

package
v0.22.2 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2026 License: MIT Imports: 32 Imported by: 0

Documentation

Overview

Package cli implements the Callee command-line surface.

Index

Constants

View Source
const (
	Version = "0.22.1"
)

Variables

View Source
var (
	// ErrInterrupt marks cancellation caused by SIGINT.
	ErrInterrupt = errors.New("interrupted")
	// ErrTerminate marks cancellation caused by SIGTERM.
	ErrTerminate = errors.New("terminated")
)

Functions

func NewRootCommand

func NewRootCommand() *cobra.Command

NewRootCommand creates the Callee Cobra command tree.

func Run

func Run(ctx context.Context, args []string, stdout, stderr io.Writer) int

Run runs Callee and returns its process exit code.

Types

This section is empty.

Jump to

Keyboard shortcuts

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