cmd

package
v0.36.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2026 License: MIT Imports: 42 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version = "dev"

Version is the spec CLI version. It is normally stamped at build time via ldflags (-X github.com/aaronl1011/spec/cmd.Version=...). When the binary is produced without ldflags — most commonly via `go install ...@latest` — this retains its default and resolveVersion falls back to the module version that the Go toolchain embeds in the build info.

Functions

func Execute

func Execute() error

Execute runs the root command.

func RootCmd

func RootCmd() *cobra.Command

RootCmd returns the root command for tooling integrations.

Types

This section is empty.

Jump to

Keyboard shortcuts

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