Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Command = &cli.Command{ Name: "exec", Usage: "Run a script with an optional configuration file", Flags: []cli.Flag{ &cli.StringFlag{ Name: "json-data", Usage: "JSON Encoded data to be passed in request", }, &cli.StringSliceFlag{ Name: "header", Usage: "Headers to use, this can be passed multiple times (note these are normalized by Go to be capitalized)", }, &cli.BoolFlag{ Name: "no-print", Usage: "Disables print() function instead of printing to stderr", }, &cli.StringFlag{ Name: "postgres-config", Usage: "Connection string for postgres connection", EnvVars: []string{"PGSTAR_POSTGRES_CONFIG"}, Required: true, }, }, Action: main, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.