cli

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFlags

func GetFlags(args []string) (hq.CliFlags, bool, error)

GetFlags parses CLI args and returns the resolved CliFlags. A bool return indicates whether help was requested (caller should print helpText and exit cleanly).

func Run

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

Run is the main entry point for the PAI CLI. It parses flags, loads config, wires up the selected agent, and executes it. Returns an 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