put

package
v0.35.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cmd

type Cmd struct {
	Policy    PolicyCmd `cmd:"" aliases:"policies,p"`
	Schema    SchemaCmd `cmd:"" aliases:"schemas,s"`
	Recursive bool      `short:"R" help:"Process the directory used in -f, --filename recursively"`
}

type PolicyCmd

type PolicyCmd struct {
	Paths []string `arg:"" type:"path" help:"Path to policy file or directory"`
}

func (*PolicyCmd) Help

func (pc *PolicyCmd) Help() string

func (*PolicyCmd) Run

func (pc *PolicyCmd) Run(k *kong.Kong, put *Cmd, ctx *cmdclient.Context) error

type SchemaCmd

type SchemaCmd struct {
	Paths []string `arg:"" type:"path" help:"Path to schema file or directory"`
}

func (*SchemaCmd) Help

func (sc *SchemaCmd) Help() string

func (*SchemaCmd) Run

func (sc *SchemaCmd) Run(k *kong.Kong, put *Cmd, ctx *cmdclient.Context) error

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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