cli

package
v0.0.0-...-80ac902 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Module is a fx module

Functions

func StartCli

func StartCli(app *Cli, lc fx.Lifecycle)

StartCli starts the app

Types

type Cli

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

App represents the application

func NewCli

func NewCli(p Params) (*Cli, error)

NewCli instantiates the main app

type Params

type Params struct {
	fx.In

	AppConfig     *config.App
	ParserCommand *parse.Cmd
	ServerCommand *serve.Cmd

	Shutdowner fx.Shutdowner
}

Params represents the module input params

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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