ls

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Ls = &charm.Spec{
	Name:  "ls",
	Usage: "ls [-l] [schemaID ... ]",
	Short: "list schemas",
	Long: `
The ls command prints the schema registry subjects and schema information
for the latest schema in each subject.
The endpoint URL and credentials are obtained from $HOME/.confluent/schema_registry.json.

This runs a bit slow as each schema entry is fetched synchronously from the registry.
`,
	New: New,
}

Functions

func New

func New(parent charm.Command, f *flag.FlagSet) (charm.Command, error)

Types

type Command

type Command struct {
	*root.Command
	// contains filtered or unexported fields
}

func (*Command) Run

func (c *Command) Run(args []string) error

Jump to

Keyboard shortcuts

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