cmd

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(ctx context.Context)

Execute runs the application. It uses the os.Args[1:] and runs through the commands tree finding appropriate matches for commands and then corresponding flags.

func ExecuteWith

func ExecuteWith(ctx context.Context, args []string)

ExecuteWith runs the application. It uses the provided args and runs through the commands tree finding appropriate matches for commands and then corresponding flags.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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