Members
Methods
(private) _executeCommand(command, callback) → {Promise}
Execute a command in the bash and run a callback
- Since:
- 0.5.0
- Source:
Parameters:
Name | Type | Description |
---|---|---|
command |
string
|
The command to execute |
callback |
function
|
The callback which returns the stdout |
Returns:
- Type:
-
Promise
_repo(callback) → {Promise}
Get repo informations
- Since:
- 0.5.0
- Source:
Parameters:
Name | Type | Description |
---|---|---|
callback |
function
|
Returns:
- Type:
-
Promise
The promise that resolves repo informations ({user: user, name: name})
_token(callback) → {Promise}
Get token informations
- Since:
- 0.5.0
- Source:
Parameters:
Name | Type | Description |
---|---|---|
callback |
function
|
Returns:
- Type:
-
Promise
The promise that resolves token informations ({token: token})