cli

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(flags *LDFlags, fs afero.Fs, logE *logrus.Entry) *cli.App

Types

type LDFlags

type LDFlags struct {
	Version string
	Commit  string
	Date    string
}

func (*LDFlags) AppVersion

func (f *LDFlags) AppVersion() string

type Runner

type Runner struct {
	// contains filtered or unexported fields
}

func (*Runner) Run

func (r *Runner) Run(ctx *cli.Context) error

func (*Runner) RunAction added in v0.2.8

func (r *Runner) RunAction(ctx *cli.Context) error

Jump to

Keyboard shortcuts

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