commands

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RootCommand = &cobra.Command{
		Use:     "graphcurl",
		Version: flags.Version,
		PersistentPreRunE: func(cmd *cobra.Command, args []string) error {
			v := viper.New()
			flags.BindFlags(cmd, v)
			return nil
		},
	}
)

RootCommand: is the main command of the CLI.

Functions

func PersistentFlagsErr

func PersistentFlagsErr(err error)

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