commands

package
v0.0.0-...-22be34c Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2019 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "stencil",
	Short: "A golang scripting utility tool",
}

deployCmd represents the deploy command

Functions

func Run

func Run()

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

func WalkGoGoProto

func WalkGoGoProto(path string) error

func WalkGrpc

func WalkGrpc(path string) error

func WalkHtml

func WalkHtml(source, dest, pkg string)

func WalkTextTmpl

func WalkTextTmpl(path string) error

Types

type Config

type Config struct {
	Input   string
	Output  string
	Package string
}

Jump to

Keyboard shortcuts

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