cmd

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "wrstat-ui",
	Short: "wrstat-ui supplies a user interface to a WRStat database.",
	Long: `wrstat-ui supplies a user interface to a WRStat database.

The 'where' subcommand can be used to find out where data is on disk.

The 'server' subcommand can be used to start the web server.`,
}

RootCmd represents the base command when called without any subcommands.

View Source
var Version string

Version gets set during build: go build -ldflags "-X github.com/wtsi-hgi/wrstat-ui/cmd.Version=`git describe --tags --always --long --dirty`" .

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.

Types

type Error

type Error string

func (Error) Error

func (e Error) Error() string

Jump to

Keyboard shortcuts

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