cli

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(main *cobra.Command)

Execute sets up common features that all mantle commands should share and then executes the command. It does not return.

func WrapPreRun

func WrapPreRun(root *cobra.Command, f PreRunEFunc)

Types

type PreRunEFunc

type PreRunEFunc func(cmd *cobra.Command, args []string) error

Jump to

Keyboard shortcuts

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