cli

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Package cli wires the cobra command tree.

Each verb is a thin shell. Real work belongs in dedicated packages under internal/. Verbs MUST stay business-logic-free in this chassis release — they exist to let downstream maintainers fill in implementations behind stable command surfaces.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRootCmd

func NewRootCmd(b BuildInfo) *cobra.Command

NewRootCmd builds the bitgit command tree.

Types

type BuildInfo

type BuildInfo struct {
	Version string
	Commit  string
	Date    string
}

BuildInfo is injected by main at startup.

Jump to

Keyboard shortcuts

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