From 45d9368fecaa7b433f39d8c2b37c064e3ac4512b Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sat, 2 Jan 2016 01:27:58 -0800 Subject: [PATCH] Update README.md --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 643872c..135781d 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,14 @@ A commandline Authenticator App (for Authy, Google Authenticator, Microsoft Authenticator, Facebook Authenticator, TOTP, etc) +```bash +authenticator --generate --issuer "ACME" --account "user@example.com" + +Key: ru36 53z3 fmh4 d67u kgeh 7rgj hcbb ypnd +Token: 947464 +URL: otpauth://totp/ACME:user@example.com?secret=RU3653Z3FMH4D67UKGEH7RGJHCBBYPND&issuer=ACME&algorithm=SHA1&digits=6&period=30 +``` + ## Install **Install node.js 4.0+**: @@ -17,18 +25,10 @@ npm install --global authenticator-cli ## Usage -``` +```bash authenticator --help ``` -``` -authenticator --generate --issuer "ACME" --account "user@example.com" - -Key: ru36 53z3 fmh4 d67u kgeh 7rgj hcbb ypnd -Token: 947464 -URL: otpauth://totp/ACME:user@example.com?secret=RU3653Z3FMH4D67UKGEH7RGJHCBBYPND&issuer=ACME&algorithm=SHA1&digits=6&period=30 -``` - ## Browser & Node Authenticator You may also be interested in