cli

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2022 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "hclvet",
	Short: "hclvet is a HCL linter",
	PersistentPreRunE: func(cmd *cobra.Command, _ []string) error {

		cmd.SilenceUsage = true
		cmd.SilenceErrors = true

		err := setup()
		return err
	},
	Version: " ",
}

RootCmd is the base of the cli

Functions

func Execute

func Execute() error

Execute adds all child commands to the root command and sets flags appropriately.

Types

This section is empty.

Directories

Path Synopsis
Package appcfg controls actions that can be performed around the app's configuration file and config directory.
Package appcfg controls actions that can be performed around the app's configuration file and config directory.

Jump to

Keyboard shortcuts

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