cmd

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

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

func ProcessCobraCommandTree added in v0.3.1

func ProcessCobraCommandTree(callback func(c *cobra.Command) error) error

ProcessCobraCommandTree builds the command tree, and then invokes the supplied callback function, passing it the root Cobra command. This is for internal tool use.

func SetVersion

func SetVersion(version string)

SetVersion sets the semantic version string for the current version of kutti

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