module

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
Source
api_host_scheme
Source
api_url
Source
char_display_width(char : Char) : Int32
Source
debugging?

Controls both CLI debug messages and SDK request logging: DEBUG=1 or -vvv.

Source
display_width(value : String) : Int32
Source
git_host
Source
ljust_display(value : String, width : Int32) : String
Source
parsed_api_uri
Source
quiet?
Source
setup_global_api_config

Method to setup global API client config

Source
t(message_key : String | Symbol, params : Hash | NamedTuple | Nil = nil) : String
Source
t(message_key : String | Symbol, **kwargs) : String
Source

Nested types