command

package
v0.0.4-0...-bd9932a Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Description

func Description(c Command, short bool) string

func Examples

func Examples(c Command) string

func WithDescription

func WithDescription(description ...string) option

func WithExample

func WithExample(title, command string) option

func WithExperimental

func WithExperimental(experimental bool) option

func WithParents

func WithParents(parents ...string) option

func WithWebsiteUrl

func WithWebsiteUrl(websiteUrl string) option

Types

type Command

type Command struct {
	// contains filtered or unexported fields
}

func New

func New(options ...option) Command

type Example

type Example struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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