cli

package
v4.28.1 Latest Latest
Warning

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

Go to latest
Published: May 30, 2024 License: MIT Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version   = "unknown"
	DateBuilt = "unknown"
)

Build stamps.

Functions

func App

func App(opts *common.CLIOpts) *cli.App

App returns the full CLI app definition, this is useful for writing unit tests around the CLI.

func LintAction

func LintAction(c *cli.Context, opts *common.CLIOpts, stderr io.Writer) int

LintAction performs the benthos lint subcommand and returns the appropriate exit code. This function is exported for testing purposes only.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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