0.0.1 • Published 2 years ago
yga v0.0.1
Google Authenticator
Google Authenticator CLI Command.
Installation
$ npm i yga -g
Usage
Usage: yga [options] [command]
Options:
-v, --version output the current version
-h, --help display help for command
Commands:
add Add platform ga key
generate Generate ga code.
list List all platform
remove Remove platform ga key
help [command] display help for command
Example call:
$ yga --help
Add Platform
$ yga add
? Please input platform name: test1
? Please input goole authentication key: **********
SUCCESS Add platform test1 success.
✨ Done in 33.32s.
Remove Platform
$ yga remove
? Please select platform name to remove: test1
SUCCESS Remove platform 'test1' success.
Generate
Help:
$ yga generate
? Please select platform name: npm
Generate ga code for npm:
928576
Auto copy ga code to clipboard success.
Also you can omit generate
word, like:
$ yga
License
MIT License
Copyright (c) 2022 @yugasun.
0.0.1
2 years ago