cli

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2026 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExitCode

type ExitCode int

ExitCode is the process exit code type for all git kura commands. Keep the numeric values in sync with the table in docs/commands.md.

func Run

func Run(args []string, stdout, stderr io.Writer, version string) ExitCode

Run is the primary testable CLI entrypoint. It accepts raw args and io.Writer targets for stdout/stderr, runs the command, and returns the process exit code as an ExitCode. version is the binary version string (populated by the build system in cmd/git-kura/main.go).

Jump to

Keyboard shortcuts

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