cli

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:          "rudolph",
	Short:        "cli for interacting with Santa server",
	SilenceUsage: true,
	Long:         "cli for interacting with Santa server",
	PersistentPreRunE: func(cmd *cobra.Command, args []string) error {

		_, err := retrieveConfig(cmd)
		if err != nil {
			return err
		}

		return nil
	},
}

RootCmd is the entry point command for the CLI, exported for use elsewhere

Functions

func Execute

func Execute(version string)

Execute is the main entry point for the CLI

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