Update login command documentation

This commit is contained in:
Juan Cruz Viotti 2015-03-16 08:43:31 -04:00
parent 1cd0f02db5
commit 5cebbce7bb

View File

@ -1,22 +1,12 @@
# login
# login [token]
Use this command to login to your resin.io account.
You need to login before you can use most of the commands this tool provides.
You can pass your credentials as `--username` and `--password` options, or you can omit the
credentials, in which case the tool will present you with an interactive login form.
To login, you need your token, which is accesible from the preferences page:
https://dashboard.resin.io/preferences?tab=details
Examples:
$ resin login --username <username> --password <password>
$ resin login
## Options
### --username, -u &#60;username&#62;
user name
### --password, -p &#60;password&#62;
user password
$ resin login "eyJ0eXAiOiJKV1Qi..."