jsonnet

package
v0.8.6 Latest Latest
Warning

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

Go to latest
Published: May 15, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Command = cli.Command{
	Name:      "jsonnet",
	Usage:     "generate .drone.yml from jsonnet",
	ArgsUsage: "[path/to/.drone.jsonnet]",
	Action: func(c *cli.Context) {
		if err := generate(c); err != nil {
			log.Fatalln(err)
		}
	},
	Flags: []cli.Flag{
		cli.BoolFlag{
			Name:   "string",
			Hidden: true,
		},
		cli.IntFlag{
			Name:  "max-stack",
			Usage: "number of allowed stack frames",
			Value: 500,
		},
		cli.IntFlag{
			Name:  "max-trace",
			Usage: "max length of stack trace before cropping",
			Value: 20,
		},
		cli.BoolFlag{
			Name:  "stdout",
			Usage: "write the json document to stdout",
		},
	},
}

Command exports the jsonnet command.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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