app

package
v0.0.0-...-10bf2d1 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2026 License: MIT Imports: 46 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(version string) int

func ExecuteCredentialHelper

func ExecuteCredentialHelper() int

ExecuteCredentialHelper writes only the selected Claude credential to stdout.

func ExecuteShim

func ExecuteShim(tool string, args []string) int

ExecuteShim handles session-local symlink invocations named claude or codex.

Types

type App

type App struct {
	Version    string
	Stdout     io.Writer
	Stderr     io.Writer
	Stdin      io.Reader
	Store      envstore.Store
	Executable string
	JSON       bool
	Strict     bool
	Emitted    bool
	Logger     *slog.Logger
	Redactor   *redact.Redactor
	// contains filtered or unexported fields
}

func New

func New(version string, stdin io.Reader, stdout, stderr io.Writer) (*cobra.Command, *App, error)

type ChildExitError

type ChildExitError struct{ Code int }

func (ChildExitError) Error

func (e ChildExitError) Error() string

Jump to

Keyboard shortcuts

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