zenefits-cli
v1.0.3
Published
Command-line interface to login, logout, start meal, and end meal in Zenefits.
Downloads
9
Readme
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
- [x] 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
- zenefits-alfred-workflow - Workflow for Alfred.
- lacona-zenefits - Command for Lacona.