cmd

package
v0.1.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func NewInitCommand

func NewInitCommand() *cobra.Command

NewVersionCommand returns a CLI command to interactively print the application binary version information.

func NewRootCmd

func NewRootCmd(log *zap.Logger) *cobra.Command

NewRootCmd returns the root command for relayer. If log is nil, a new zap.Logger is set on the app state based on the command line flags regarding logging.

func NewStartCommand

func NewStartCommand(app *app.State) *cobra.Command

NewVersionCommand returns a CLI command to interactively print the application binary version information.

func NewVersionCommand

func NewVersionCommand() *cobra.Command

NewVersionCommand returns a CLI command to interactively print the application binary version information.

Types

This section is empty.

Jump to

Keyboard shortcuts

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