Socket
Book a DemoInstallSign in
Socket

hack-spirit

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hack-spirit

Make TeamSpirit hackable

latest
Source
npmnpm
Version
0.1.4
Version published
Maintainers
1
Created
Source

hack-spirit

Build Status

hack-spirit is a client library and a cli for TeamSpirit. It makes TeamSpirit hackable.

Currently, it provides these functionalities:

  • Get current work status
  • Start work
  • Finish work
  • Report your overtime work
  • Report your delayed arrival
  • Record worktime
  • Chill out
  • Generate worktime report (weekly, monthly, specified period)

Installation

$ npm install --global https://github.com/aHirokiKumamoto/hack-spirit

Usage

I strongly recommend login command that stores your credentials. You don't need to put the options --user and --password when once you login.

  Usage: hack-spirit [options] [command]


  Commands:

    login                   login with your team sprint credentials
    work_status             print current work status
    start_work              start work
    finish_work             finish_work
    overtime [options]      Report your overtime work
    delayed [options]       Report your delayed arrival
    worktime [options]      Record worktime
    chill_out [options]     Chill out
    chilled_out [options]   Chilled out until the time
    chills [options]        Manage a chills
    weekly [options]        Generate weekly worktime report
    monthly [options]       Generate weekly worktime report
    time_report [options]   Generate worktime report with a specified period

  Options:

    -h, --help               output usage information
    -V, --version            output the version number
    -u, --user [String]      user name
    -p, --password [String]  password
    -v, --verbose            print log
    -b, --browser            show browser

Some command (such as overtime ) takes extra options. Please run hack-spirit [command] --help and check out the output

Examples

$ hack-spirit work_status -u user_name -p password

How it works

hack-spirit is highly depended on [nightmare][] that uses [electron][] as headless browser.

So, you can see how the electron works with --browser options.

[nightmare]: https://github.com/segmentio/nightmare) [electron]: http://electron.atom.io/

FAQs

Package last updated on 21 Nov 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts