flags

package
v0.0.0-...-7934b4f Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	Version        kong.VersionFlag
	AppName        string `help:"Stage the name of the service." env:"APP_NAME"`
	Stage          string `help:"Stage the software is deployed." env:"STAGE"`
	Branch         string `help:"Branch used to build software." env:"BRANCH"`
	CustomersTable string `help:"Name of the dynamodb to use for storing customers." env:"CUSTOMERS_TABLE"`
}

API api related flags passing in env variables

type Client

type Client struct {
	Version kong.VersionFlag
	URL     string `help:"The base URL for the API." kong:"required"`
}

Client client flags

Jump to

Keyboard shortcuts

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