timeular-cli
v1.1.10
Published
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com) [![codebeat badge](https://codebeat.co/badges/f9ce0d07-2a62-43b1-bbd8-17f02bc1bb86)](https://codebeat.co/projects/github-com-khaledosman-
Downloads
31
Maintainers
Readme
timeular-cli
CLI wrapper for Timeular's API to track activities and generate csv & xlsx reports! Can be used as an interactive cli by asking the user questions or directly by setting the required input via their corresponding flags
Installation
npm i -g timeular-cli
Update your .profile or .bashrc or .zshrc to include the following environment variables:
export TIMEULAR_API_KEY="XXXXXXXXXX"
export TIMEULAR_API_SECRET="YYYYYYYYYY"
You can get the values for these fields by visiting your Account page on Timeular
Usage
timeular --help
➜ github timeular --help
_____ _ _
|_ _| (_) _ __ ___ ___ _ _ | | __ _ _ __
| | | | | '_ ` _ \ / _ \ | | | | | | / _` | | '__|
| | | | | | | | | | | __/ | |_| | | | | (_| | | |
|_| |_| |_| |_| |_| \___| \__,_| |_| \__,_| |_|
Usage: timeular [options] [command]
Options:
-v, --version output the version number
-h, --help output usage information
Commands:
track [activityName] start tracking for a specific activity, stops current tracking before starting a new one
report [options] generates timeular report in csv or xlsx format
stop stops tracking current activity
timeular track --help
timeular report --help
MacBook-Pro-3:github khaledosman$ timeular report --help
_____ _ _
|_ _| (_) _ __ ___ ___ _ _ | | __ _ _ __
| | | | | '_ ` _ \ / _ \ | | | | | | / _` | | '__|
| | | | | | | | | | | __/ | |_| | | | | (_| | | |
|_| |_| |_| |_| |_| \___| \__,_| |_| \__,_| |_|
Usage: report [options]
generates timeular report in csv or xlsx format
Options:
-s, --startTime <startTime> startTime
-e, --endTime <endTIme> endTime
-f, --format <format> xlsx or csv
-h, --help output usage information
Track Activity
timeular track <activityName>
ortimeular track
Generate A Report
timeular report -s <startTime> -e <endTime> -f <format>
ortimeular report