opa: github.com/open-policy-agent/opa/cmd Index | Files

package cmd

import "github.com/open-policy-agent/opa/cmd"

Package cmd contains the entry points for OPA commands.


Package Files

bench.go build.go check.go commands.go deps.go doc.go eval.go filters.go flags.go fmt.go oracle.go parse.go run.go test.go version.go


var RootCommand = &cobra.Command{
    Use:   path.Base(os.Args[0]),
    Short: "Open Policy Agent (OPA)",
    Long:  "An open source project to policy-enable your service.",

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

Package cmd imports 49 packages (graph) and is imported by 8 packages. Updated 2020-05-27. Refresh now. Tools for package owners.