cli

package
v2.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2026 License: MIT Imports: 33 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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Launch

func Launch(ctx context.Context, conn *connect.Client, dir string, args []string, app App) (bool, error)

Opens the app for the command line when it is a launch of it: a new chat, or the session it resumes or continues; the app says on its way out how to come back to the sessions written to. False for any other command line

func Register

func Register(host *cli.CLI, app App)

func Told

func Told(ctx context.Context, conn *connect.Client, out io.Writer)

Prints what icebath has to tell the person that nothing showed yet, such as a session database it set aside, each after a warning mark. A server that can't be asked within a few seconds is left alone, as the command's own result already says so

Types

type App

type App func(ctx context.Context, conn *connect.Client) error

Runs the terminal app, opening the session in the context in place of a new chat

Jump to

Keyboard shortcuts

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