cmd

package
v0.1.17 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2026 License: MIT Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version   = "dev" // injected via ldflags on release builds; see resolveVersion
	Commit    = "none"
	BuildDate = "unknown"
)

Functions

func ChildExitCode added in v0.1.14

func ChildExitCode(err error) (int, bool)

ChildExitCode reports the exit code carried by err when it is a wrapped child's exit status. main uses it to propagate the code silently (the child's output was already streamed) instead of printing "error: ...".

func Execute

func Execute() error

func RunDeviceLogin

func RunDeviceLogin() error

RunDeviceLogin runs the full OAuth device-code flow once. Exposed so `codag setup` can reuse it without duplicating the logic.

Types

This section is empty.

Jump to

Keyboard shortcuts

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