yga

Google Authenticator

  • yga

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
yga
0.0.12 years ago2 years agoMinified + gzip package size for yga in KB

Readme

Google Authenticator
npm NPM downloads
Google Authenticator CLI Command.
- Installation - Usage
- [Add Platform](#add-platform)
- [Remove Platform](#remove-platform)
- [Generate](#generate)
- License

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.