From 5cebbce7bb89b0c98c63e44c05cb32656be97a53 Mon Sep 17 00:00:00 2001 From: Juan Cruz Viotti Date: Mon, 16 Mar 2015 08:43:31 -0400 Subject: [PATCH] Update login command documentation --- doc/auth/login.markdown | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/doc/auth/login.markdown b/doc/auth/login.markdown index 4c345859..cedda322 100644 --- a/doc/auth/login.markdown +++ b/doc/auth/login.markdown @@ -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 --password $ resin login - -## Options - -### --username, -u <username> - -user name - -### --password, -p <password> - -user password \ No newline at end of file + $ resin login "eyJ0eXAiOiJKV1Qi..."