node package manager
Don’t reinvent the wheel. Reuse code within your team. Create a free org »

zenefits-cli

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