cli

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2026 License: MIT Imports: 25 Imported by: 0

Documentation

Overview

Package cli owns the linctl command-line surface.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(ctx context.Context, build BuildInfo) error

Execute runs linctl with process stdio.

func NewRootCommand

func NewRootCommand(ctx context.Context, build BuildInfo) *cobra.Command

NewRootCommand builds the linctl root command.

Types

type BuildInfo

type BuildInfo struct {
	Version string
	Commit  string
	Date    string
}

BuildInfo contains version metadata injected by release builds.

Jump to

Keyboard shortcuts

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