Build
This command is used to login to the Build API. The Build API token is stored in the user's netrc file. Because the commandline needs the token, it does a three-way OAuth authentication. This command requests a login authorization from Build, then opens a browser to have the users OAuth-accept that authorization. Once the user accepts the authorization, the command polls the Build API to get the user's token.
Constants
ACON_MARKUP = /<\/?[^>]*>/
ANSI_ESCAPE = /\e\[[0-?]*[ -\/]*[@-~]/
SLOW_REQUEST_AFTER = 5.seconds
A request that has run this long gets one line on stderr saying so, when a person is watching (stderr is a TTY) and -q was not given.
Class methods
api_host
Sourceapi_host_scheme
Sourceapi_url
Sourcegit_host
Sourceparsed_api_uri
Sourcequiet?
Source