cmd

package
v0.21.3 Latest Latest
Warning

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

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

Documentation

Overview

nolint:wrapcheck

Index

Constants

This section is empty.

Variables

View Source
var RootCommand = &cobra.Command{
	Use:   path.Base(os.Args[0]),
	Short: "Regal",
	Long:  "Regal is a linter for Rego, with the goal of making your Rego magnificent!",
}

RootCommand is the base CLI command that all subcommands are added to.

Functions

func Runtime

func Runtime() *ast.Term

Types

type ExitError added in v0.11.0

type ExitError struct {
	// contains filtered or unexported fields
}

func (ExitError) Code added in v0.11.0

func (e ExitError) Code() int

func (ExitError) Error added in v0.11.0

func (e ExitError) Error() string

type TemplateValues added in v0.6.0

type TemplateValues struct {
	Category     string
	NameOriginal string
	Name         string
	NameTest     string
}

Jump to

Keyboard shortcuts

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