Sha256: bbdc727c35c0974b618259f4089fd826aa82686ef7b250cd178cbebfb25f47d8

Contents?: true

Size: 864 Bytes

Versions: 1

Compression:

Stored size: 864 Bytes

Contents

[![Build Status](https://travis-ci.org/s-osa/oneshot_task_generator.svg?branch=master)](https://travis-ci.org/s-osa/oneshot_task_generator)

# OneshotTaskGenerator

Simple rake task generator for oneshot tasks.

```sh
$ bin/rake generate oneshot FooBar
      create  lib/tasks/oneshot/20180205_foo_bar.rake
```

Then, skeleton file for oneshot rake task will be generated.

```ruby
# Skeleton for this file was generated by `bin/rails generate oneshot FooBar`
# For copy and paste: `bin/rake oneshot:foo_bar_20180205`
namespace :oneshot do
  desc ''
  task foo_bar_20180205: :environment do
  end
end
```

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'oneshot_generator'
```

And then execute:

```
$ bundle
```

## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/s-osa/oneshot_task_generator.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
oneshot_task_generator-0.0.1 README.md