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.
Click to show internal directories.
Click to hide internal directories.