cli

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 25, 2026 License: MIT Imports: 31 Imported by: 0

Documentation

Overview

Package cli wires every user-facing command on the qu binary.

The root command is built lazily via NewRootCommand so test code can construct a fresh tree per invocation. Each subcommand lives in its own file (init.go, serve.go, node.go, …) and is attached from NewRootCommand below.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRootCommand

func NewRootCommand(version string) *cobra.Command

NewRootCommand returns the full cobra tree. version is the build stamp surfaced via `qu --version`; pass "dev" when unset.

Types

This section is empty.

Jump to

Keyboard shortcuts

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