app

package
v0.12.2 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CLI

type CLI struct {
	Version kong.VersionFlag `short:"v" help:"Show version."`
	Run     RunCmd           `cmd:"" aliases:"r" help:"run application" default:"withargs"`
}

type RunCmd

type RunCmd struct {
	Output string `short:"o" env:"OUTPUT" help:"output file path" type:"path" default:"-"`
	Format string `short:"f" env:"FORMAT" help:"output format" enum:"json,yaml,csv,subscription,text,table" default:"table"`
	Status bool   `short:"s" help:"check servers status"`
	Alive  bool   `short:"a" help:"print only alive servers"`
}

func (*RunCmd) Run

func (c *RunCmd) Run() error

Jump to

Keyboard shortcuts

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