0.2.0 ā€¢ Published 5 years ago

harvest-monthly-expenses v0.2.0

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

Welcome to harvest-monthly-expenses šŸ‘‹

Summarize your monthly Harvest expenses on the command line!

Yes, you can do this in Excel too. I decided to write some code instead.

Version

Install

To install, simply run:

npm install harvest-monthly-expenses

You'll also need to obtain a Harvest Personal Access Token.

Usage

First, set your Harvest authentication details as environment variables:

export HARVEST_ACCESS_TOKEN=<access-token>
export HARVEST_ACCOUNT_ID=<account-id>

By default, the current month's expenses are displayed:

$ harvest-monthly-expenses
Expense Category,August 2019
Education,$20.00
Professional Organization,$0.00
Subscriptions,$8.00
Contractors,$0.00
[...]

Control the date range with the --start-date=<date> and --end-date=<date> arguments:

$ harvest-monthly-expenses --start-date=2019-01-01 --end-date=2019-03-31
Expense Category,March 2019,February 2019,January 2019
Education,$0.00,$0.00,$56.99
Professional Organization,$0.00,$0.00,$99.00
Subscriptions,$0.00,$14.95,$280.00
Contractors,$0.00,$0.00,$0.00

Or, filter expenses to a specific client with the --client-id=<id> argument.

Author

šŸ‘¤ Daniel Bachhuber

šŸ¤ Contributing

Contributions, issues and feature requests are welcome!

Feel free to check issues page.

Show your support

Give a ā­ļø if this project helped you!