Project

attend

0.0
Repository is archived
Low commit activity in last 3 years
No release in over a year
Attend is CLI tool that will help you register your Zoho People attendance in fast and easy way
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.1
~> 3.9
~> 1.11

Runtime

~> 1.3
~> 4.4
 Project Readme

Attend Build Status

Register your attendance at Zoho using CLI.

Installation

Install attend Ruby gem:

gem install attend

and that's it!

Usage

First of all you need to set Zoho Poeople auth token as env variable in your terminal. After that you will be ready to use attend.

export ZOHO_PEOPLE_ROOT_TOKEN='YOUR_TOKEN'

To register attendance on current day:

attend --email "your.employee@email.com" --check_in "10:00" --check_out "18:00"
# Successfully registered attendance from 2017-07-04T10:00:00+10:00 to 2017-07-04T18:00:00+18:00

You can also register attendance for a few days:

 attend --email "your.employee@email.com" --check_in "10:00" --check_out "18:00" --from "04/07/2017" --to "07/07/2017"
 # Successfully registered attendance from 2017-07-04T10:00:00+10:00 to 2017-07-04T18:00:00+18:00
 # Successfully registered attendance from 2017-07-05T10:00:00+10:00 to 2017-07-05T18:00:00+18:00
 # ...