https://github.com/dannnylo/Toggl2DalePonto
https://github.com/dannnylo/Toggl2DalePonto
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/dannnylo/Toggl2DalePonto
- Owner: dannnylo
- Archived: true
- Created: 2019-12-19T19:18:32.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-26T18:36:06.000Z (about 6 years ago)
- Last Synced: 2024-11-11T14:42:59.579Z (over 1 year ago)
- Language: Ruby
- Size: 3.91 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Toggl2DalePonto
This script will create a request for change on Dale Ponto based on Toggl registers.
ATENTION: The request will be created even if you have a punch or an another request on the same time.
## Install
After cloning the repository.
```shell
bundle install
cp .env{.sample,}
```
Then edit your env variables.
## Usage
You will pass as arguments the start date and the finish date.
If the env `REAL_PUNCH` is true the request will be sent, Also this script only will output the dates.
```shell
ruby conver.rb 2019-12-16 2019-12-18
```
## License
The code is available as open-source under the terms of the [MIT License](https://opensource.org/licenses/MIT).