handler

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GenCommand = cli.Command{
	Name:   "gen",
	Usage:  "convert Drone v0.8x format .drone.yml to v1 format .drone.jsonnet",
	Action: Gen,
	Flags: []cli.Flag{
		cli.StringFlag{
			Name:  "source, s",
			Usage: "source .drone.yml path",
			Value: ".drone.yml",
		},
		cli.StringFlag{
			Name:  "target, t",
			Usage: "target .drone.jsonnet path",
			Value: ".drone.jsonnet",
		},
		cli.BoolFlag{
			Name:  "stdout",
			Usage: "output generated jsonnet to stdout",
		},
	},
}

GenCommand is the sub command "gen".

Functions

func Gen

func Gen(c *cli.Context) error

Gen is the sub command "gen".

Types

This section is empty.

Jump to

Keyboard shortcuts

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