cli

package
v0.0.0-...-cefd429 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2023 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InvokeApp

func InvokeApp(app *cli.App, lc fx.Lifecycle)

func Module

func Module() fx.Option

func NewApp

func NewApp(params Params) *cli.App

Types

type Params

type Params struct {
	fx.In
	Version string `name:"version"`
	Commit  string `name:"commit"`

	Commands       []*cli.Command `group:"root_commands"`
	HandleNotFound cli.CommandNotFoundFunc
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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