stack-fanatic-cli

0.0.2 • Public • Published

Stack Fanatic CLI

npm package version Travis build status npm package downloads code style license

A CLI tool for checking the progress of the badge you are tracking on your Stack Overflow profile.

Installation

npm install --global stack-fanatic-cli

Usage

$ stack-fanatic --help

  Usage
    $ stack-fanatic
      [--debug]
      [--login-email=example@gmail.com]
      [--login-password=password1345]
      [--site=https://stackoverflow.com]
      [--user-data-dir=/tmp/stack-fanatic]

  Options
    --debug           Output debugging info in the console
    --login-email     The email address asssociated with the Stack Overflow account that you would like to log in to
    --login-password  The password for the StackOverflow account that you would like to log in to
    --plain           Only display the badge status text, no fancy box
    --site            The URL for the Stack Exchange site that you would like to pull badge info from
                      Should include the protocol at the beginning and no trailing slash (Defaults to "https://stackoverflow.com")
    --user-data-dir   Directory to save session data and cache to (Defaults to ""./userData")

  Examples
    $ stack-fanatic
    $ stack-fanatic --site=https://gamedev.stackexchange.com
    $ stack-fanatic --login-email=example@gmail.com --login-password=password1234

Note: When you first run stack-fanatic, you will be prompted for a login email and password if you do not supply one using the options.

Example Response

┌─────────────────────────────────┐
│                                 │
│   Fanatic (Gold) - 2/100 (2%)   │
│                                 │
└─────────────────────────────────┘

Related

License

MIT. See the LICENSE file for more info.

Package Sidebar

Install

npm i stack-fanatic-cli

Weekly Downloads

0

Version

0.0.2

License

MIT

Unpacked Size

8.04 kB

Total Files

6

Last publish

Collaborators

  • kodie