Mark api keys in the CLI as non-experimental

After the recent SDK updates, they should now work everywhere

Change-type: patch
This commit is contained in:
Tim Perry 2018-11-07 16:16:13 +01:00
parent 203285bab9
commit a809847d60
2 changed files with 5 additions and 5 deletions

View File

@ -284,7 +284,7 @@ from the dashboard.
- Credentials: using email/password and 2FA. - Credentials: using email/password and 2FA.
- Token: using a session token or API key (experimental) from the preferences page. - Token: using a session token or API key from the preferences page.
Examples: Examples:
@ -298,7 +298,7 @@ Examples:
#### --token, -t <token> #### --token, -t <token>
session token or API key (experimental) session token or API key
#### --web, -w #### --web, -w

View File

@ -27,7 +27,7 @@ exports.login =
- Credentials: using email/password and 2FA. - Credentials: using email/password and 2FA.
- Token: using a session token or API key (experimental) from the preferences page. - Token: using a session token or API key from the preferences page.
Examples: Examples:
@ -40,7 +40,7 @@ exports.login =
options: [ options: [
{ {
signature: 'token' signature: 'token'
description: 'session token or API key (experimental)' description: 'session token or API key'
parameter: 'token' parameter: 'token'
alias: 't' alias: 't'
} }
@ -84,7 +84,7 @@ exports.login =
return Promise.try -> return Promise.try ->
return options.token if _.isString(options.token) return options.token if _.isString(options.token)
return form.ask return form.ask
message: 'Session token or API key (experimental) from the preferences page' message: 'Session token or API key from the preferences page'
name: 'token' name: 'token'
type: 'input' type: 'input'
.then(balena.auth.loginWithToken) .then(balena.auth.loginWithToken)