cli

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2026 License: Apache-2.0 Imports: 44 Imported by: 0

Documentation

Overview

Package cli builds the Keyway command tree, shared by the `keyway` CLI and the `keyway-runner` daemon binaries.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(opts Options)

Execute runs the command tree and maps errors to a process exit code.

func NewRootCmd

func NewRootCmd(opts Options) *cobra.Command

NewRootCmd constructs the full command tree.

Types

type Options

type Options struct {
	// Runner selects the daemon-oriented default command (serve) when true.
	Runner bool
}

Options configures the root command tree.

Jump to

Keyboard shortcuts

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