yga
v0.0.1
Published
Google Authenticator
Readme
Google Authenticator
Google Authenticator CLI Command.
Installation
$ npm i yga -gUsage
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 --helpAdd 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:
$ ygaLicense
MIT License
Copyright (c) 2022 @yugasun.
