https://github.com/atshakil/rtime
Generate timestamps!
https://github.com/atshakil/rtime
cli generator ruby ruby-cli rubygems timestamp
Last synced: 9 months ago
JSON representation
Generate timestamps!
- Host: GitHub
- URL: https://github.com/atshakil/rtime
- Owner: atshakil
- License: mit
- Created: 2017-06-13T20:53:29.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-07-10T09:04:00.000Z (over 6 years ago)
- Last Synced: 2024-04-24T21:43:14.999Z (over 1 year ago)
- Topics: cli, generator, ruby, ruby-cli, rubygems, timestamp
- Language: Ruby
- Homepage:
- Size: 21.5 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# RTime
[](https://travis-ci.org/atshakil/rtime)
[](https://badge.fury.io/rb/rtime)
[](https://codeclimate.com/github/atshakil/rtime/coverage)
[](http://inch-ci.org/github/atshakil/rtime)
[](https://codeclimate.com/github/atshakil/rtime)
[](https://codeclimate.com/github/atshakil/rtime)
## Summary
RTime is a random timestamp generator.
## Installation
This app is intended to be used as a command-line utility.
Installation is as simple as,
gem install rtime
If you eventually develop a taste for `rtime`'s tiny API,
you may want to follow the steps below.
Add this line to your application's Gemfile:
```ruby
gem 'rtime'
```
And then execute:
bundle
## Usage
```sh
rtime generate [--night-only]
```
Here's an example use case:
```sh
$ rtime g 20170127 20170203 60% --night-only
2017-01-28 20:48:48 +0000
2017-01-29 03:51:15 +0000
2017-01-31 01:15:47 +0000
2017-02-03 23:41:54 +0000
```
## Contributing
If you are interested in contributing, please [submit a pull request](https://help.github.com/articles/about-pull-requests/).
## License
[MIT](http://opensource.org/licenses/MIT)