cmd

package
v1.20.0-dexcom-api.4 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2017 License: BSD-3-Clause Imports: 13 Imported by: 1

Documentation

Index

Constants

View Source
const (
	EndpointFlag = "endpoint"
	EnvFlag      = "env"
	PrettyFlag   = "pretty"
	ProxyFlag    = "proxy"
	VerboseFlag  = "verbose"
)
View Source
const (
	DatasetIDFlag = "dataset-id"
	DeletedFlag   = "deleted"
	PageFlag      = "page"
	SizeFlag      = "size"
)
View Source
const (
	UserIDFlag   = "user-id"
	EmailFlag    = "email"
	PasswordFlag = "password"
	RoleFlag     = "role"
)
View Source
const (
	TokenFlag = "token"
)

Variables

View Source
var EnvironmentEndpointMap = map[string]string{
	"prd":   "https://api.tidepool.org",
	"int":   "https://int-api.tidepool.org",
	"stg":   "https://stg-api.tidepool.org",
	"dev":   "https://dev-api.tidepool.org",
	"local": "http://localhost:8009",
}

Functions

func API

func API(c *cli.Context) *api.API

func AuthCommands

func AuthCommands() cli.Commands

func CommandFlags

func CommandFlags(flags ...cli.Flag) []cli.Flag

func DatasetCommands

func DatasetCommands() cli.Commands

func InitializeApplication

func InitializeApplication() (*cli.App, error)

func UserCommands added in v1.2.0

func UserCommands() cli.Commands

func VersionCommands

func VersionCommands(versionReporter version.Reporter) cli.Commands

Types

This section is empty.

Jump to

Keyboard shortcuts

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