cli

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2026 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Package cli wires the kete cobra command tree.

The construction lives outside cmd/kete so other binaries (ketedoc) can render help against the same tree without depending on main.

Index

Constants

This section is empty.

Variables

View Source
var Version = "dev"

Version is set by cmd/kete via ldflags. Default "dev" lets `go run` just work.

Functions

func Main

func Main()

Main is the cmd/kete entry point. Lives here so the cmd binary stays a one-line `cli.Main()` shim.

func NewRoot

func NewRoot() *cobra.Command

NewRoot returns the kete cobra root with all subcommands attached.

Types

This section is empty.

Jump to

Keyboard shortcuts

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