cmd

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const Version = "1.4.0"

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "refresh",
	Short: "Refresh is a command line tool that builds and (re)starts your Go application everytime you save a Go or template file.",
	PersistentPreRun: func(cmd *cobra.Command, args []string) {
		fmt.Printf("Refresh (%s)\n\n", Version)
	},
	Run: func(cmd *cobra.Command, args []string) {
		Run(cfgFile)
	},
}

Functions

func Execute

func Execute()

func Run

func Run(cfgFile string)

func RunWithContext

func RunWithContext(cfgFile string, ctx context.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

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