cmd

package
v0.0.0-...-ec1031e Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(embedded *embed.FS)

Execute creates the root command, adds all child commands, and execute the root command. This is called by main.main(). It only needs to happen once to the rootCmd.

func NewRootCommand

func NewRootCommand(opts *options.CommonOptions) *cobra.Command

NewRootCommand returns the root command.

Types

type Options

type Options struct {
	*options.CommonOptions
}

Directories

Path Synopsis
tcp
tcp
get
tcp

Jump to

Keyboard shortcuts

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