1.0.3 • Published 8 years ago

zenefits-cli v1.0.3

Weekly downloads
3
License
ISC
Repository
github
Last release
8 years ago

Zenefits CLIo

Installation

npm install -g zenefits-cli

Setup

First you must specify your Zenefits credentials. You can do it in two different ways:

Method 1: Environment variables

Add this to your ~/.profile:

ZENEFITS_USERNAME=<your email>
ZENEFITS_PASSWORD=<your password>

Method 2: Credentials file

Create the file ~/.zenefits.json containing the following:

{
    "username": "<your email>",
    "password": "<your password>"
}

Commands

zenefits in
zenefits out
zenefits lunch
zenefits endlunch

@todos

  • Run in PhantomJS (no visible browser window). Work exists in the phantomjs branch.
  • Smart handling of state i.e. don't clock in twice in a row, etc.

Integrations