cmd

package
v0.38.1 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2026 License: Apache-2.0 Imports: 64 Imported by: 1

Documentation

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

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

func (ExitError) Code

func (e ExitError) Code() int

func (ExitError) Error

func (e ExitError) Error() string

type TemplateValues

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