cli

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2026 License: Apache-2.0 Imports: 47 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 hopsesh command line.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExitStatus added in v0.5.0

func ExitStatus(err error) (int, bool)

ExitStatus is the exit code an error from the command line stands for (a remote terminal's program's own), when it is one.

func NewRoot

func NewRoot(out io.Writer, reg *registry.Registry) *cobra.Command

NewRoot builds the command line for the agent modules in reg. Output goes to out so tests can capture it.

Types

This section is empty.

Jump to

Keyboard shortcuts

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