exec

package
v0.0.6-alpha Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2024 License: MIT Imports: 12 Imported by: 0

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.

Jump to

Keyboard shortcuts

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