cmd

package
v0.0.0-...-cd2df2e Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 License: AGPL-3.0 Imports: 30 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 GetRootCmd

func GetRootCmd() *cobra.Command

func NewClientCmd

func NewClientCmd() *cobra.Command

NewClientCmd creates a new client command

func NewRootCmd

func NewRootCmd() *cobra.Command

NewRootCmd returns a new command which represents the base command when called without any subcommands TODO add description

func NewServerCmd

func NewServerCmd() *cobra.Command

NewServerCmd creates a new server command

Types

type State

type State struct {
	X float64
	Y float64
}

Jump to

Keyboard shortcuts

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