commands

package
v0.0.0-...-04802e6 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2020 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GenerateTokenCommand = cli.Command{
		Name: "generate-token",
		Flags: []cli.Flag{
			cli.StringFlag{
				Name: "email",
			},
		},
		Action: GenerateToken,
	}
)
View Source
var (
	InitCommand = cli.Command{
		Name: "init",
		Flags: []cli.Flag{
			cli.StringFlag{
				Name:  "base-url",
				Value: slickconfig.Configuration.Common.BaseUrl,
			},
			cli.StringFlag{
				Name: "o,output",
			},
		},
		Action: InitializeConfiguration,
	}
)
View Source
var (
	ServeCommand = cli.Command{
		Name: "serve",
		Flags: []cli.Flag{
			cli.BoolFlag{
				Name: "d,dev",
			},
		},
		Action: RunService,
	}
)

Functions

func GenerateToken

func GenerateToken(c *cli.Context)

func InitializeConfiguration

func InitializeConfiguration(c *cli.Context)

func RunService

func RunService(c *cli.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

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