commands

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSubCommands

func GetSubCommands(opt fx.Option) []*cobra.Command

get a list of sub commands

Types

type ServeCommand

type ServeCommand struct{}

func NewServeCommand

func NewServeCommand() *ServeCommand

create a new serve command

func (*ServeCommand) Run

func (sc *ServeCommand) Run() lib.CommandRunner

func (*ServeCommand) Setup

func (sc *ServeCommand) Setup(cmd *cobra.Command)

func (*ServeCommand) Short

func (sc *ServeCommand) Short() string

Jump to

Keyboard shortcuts

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