0.0
No release in over 3 years
Low commit activity in last 3 years
Everhour2toggl exports [Everhour](https://everhour.com/)'s time entries, converts them to [Toggl](https://toggl.com/)'s time entries and posts them to Toggl.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.17
~> 10.0
~> 3.0

Runtime

>= 0
 Project Readme

Everhour2toggl

This gem exports Everhour's time entries, converts them to Toggl's time entries and posts them to Toggl.

Installation

Add this line to your application's Gemfile:

gem 'everhour2toggl'

And then execute:

$ bundle

Or install it yourself as:

$ gem install everhour2toggl

Usage

Export Everhour's time entries to JSON (default: <pwd>/everhour_entries/<from>-<to>-<fields>.json)

$ everhour2toggl export --from 2019-01-01 --to 2019-01-31 --apikey xxxx-xxxx-xxxxxx-xxxxxx-xxxxxxxx --fields date,task,user

Convert Everhour's time entries to Toggl's ones (JSON, default:<pwd>/toggl_entries/<from>-<to>-<fields>.json)

$ everhour2toggl convert --input everhour_entries/2019-01-01-2019-01-31-date,task,user.json --starting_time 10:00 --interval 60 --pid xxxxxxx --tags foo,bar,baz

Post Toggl's time entries to Toggl

$ everhour2toggl post --input toggl_entries/2019-01-01-2019-01-31-date,task,user.json --api_token <YOUR_API_TOKEN>

To see more usage

$ everhour2toggl (or with option -h)

This gem uses Thor (homepage)

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/noriyotcp/everhour2toggl.

License

The gem is available as open source under the terms of the MIT License.