Documentation ¶
Index ¶
- Constants
- Variables
- func API(c *cli.Context) *api.API
- func AuthCommands() cli.Commands
- func CommandFlags(flags ...cli.Flag) []cli.Flag
- func DatasetCommands() cli.Commands
- func InitializeApplication() (*cli.App, error)
- func UserCommands() cli.Commands
- func VersionCommands(versionReporter version.Reporter) cli.Commands
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 AuthCommands ¶
func DatasetCommands ¶
func InitializeApplication ¶
func UserCommands ¶ added in v1.2.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.