automationcli

package
v0.1.18 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2026 License: MIT Imports: 17 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 automationcli is golet-automation, the command line client of plugins/automation's socket made for agents: compact snapshots of a window's elements with short refs, actions on them, and diffs of what the window shows once it settled. The command lives in plugins/automation/cmd/golet-automation, which embeds its SKILL.md; the package is here so that internal/e2e can drive a real app with it.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Commands

func Commands() []string

Commands returns the names of the commands, sorted.

func Run

func Run(argv []string, stdin io.Reader, stdout, stderr io.Writer, opts Options) int

Run runs a command line, without the program's name, and returns the exit status: 0, 1 when the command failed, 2 when it was used wrong.

func Version

func Version() string

Version is the version of Golet the command was built from: the module's version when go install got it, as v0.8.0, the version an app's go.mod requires when installed from the app's module, or (devel).

Types

type Options

type Options struct {
	// Skill is the SKILL.md that skills prints.
	Skill []byte
	// Dir keeps the sessions' files; empty, it is golet/automation in the
	// user's cache directory.
	Dir string
}

Options are what the command takes besides its arguments.

Jump to

Keyboard shortcuts

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