yga

0.0.1 • Public • Published

Google Authenticator

npm NPM downloads

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.

Package Sidebar

Install

npm i yga

Weekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

20.9 kB

Total Files

24

Last publish

Collaborators

  • yugasun