cli

package
v0.0.0-...-949c8fb Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RegisterCommandsDeps

type RegisterCommandsDeps struct {
	fx.In

	StartServerCmd *StartServerCmd
}

type RegisterCommandsResult

type RegisterCommandsResult struct {
	fx.Out

	StartServerCmd cli.Command `group:"command"`
}

type StartServerCmd

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

func NewStartServerCmd

func NewStartServerCmd(lc fx.Lifecycle, deps StartServerCmdDeps) *StartServerCmd

func (*StartServerCmd) Description

func (*StartServerCmd) Description() string

func (*StartServerCmd) Name

func (*StartServerCmd) Name() string

func (*StartServerCmd) Run

func (c *StartServerCmd) Run(cmd *cobra.Command, args []string)

type StartServerCmdDeps

type StartServerCmdDeps struct {
	fx.In

	App    *fiber.App
	Config *config.Config
	Logger *logger.Logger
}

Jump to

Keyboard shortcuts

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