https://github.com/afaur/revp
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/afaur/revp
- Owner: afaur
- Created: 2016-04-20T06:27:36.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-05-28T19:52:09.000Z (about 10 years ago)
- Last Synced: 2025-04-06T08:24:23.300Z (over 1 year ago)
- Language: Ruby
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Why?
Be able to generate commands that need date ranges.
# Getting started
## Download
~~~
git clone git@github.com:afaur/revp.git
cd revp
~~~
## Ruby
### RVM
~~~
rvm install ruby-2.1.5
~~~
### rbenv
~~~
rbenv install ruby-2.1.5
rbenv local ruby-2.1.5
~~~
## Running
~~~
bundle install
./revp --help
~~~
# Examples
~~~
./revp --start="2012 1 1 0 0 0" --end="2016 4 27 0 0 0" --phrase="in one day"
./revp --start="2016 1 16 0 0 0" --end="2016 1 16 0 0 0" --phrase="in two
seconds"
~~~