cli

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2026 License: MIT Imports: 57 Imported by: 0

Documentation

Overview

Package cli wires up the donkey command tree (urfave/cli v3).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command(options Options) *cli.Command

func Run

func Run(ctx context.Context, args []string, options Options) error

Types

type Options

type Options struct {
	// DisableManagement omits commands and flags that manage the donkey control
	// plane. Commands that use an existing control plane remain available.
	DisableManagement bool
	// Server provides the default donkey-server URL when the user has not
	// selected and saved one. An explicit login --server overrides it.
	Server string
}

Options controls which parts of the command tree are exposed by an embedding CLI.

Jump to

Keyboard shortcuts

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