Sha256: 93191c76f1f66d8cb91485e69906f40f1135da1f904e994a9db7a99afcaacda9

Contents?: true

Size: 869 Bytes

Versions: 1

Compression:

Stored size: 869 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_task_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.1.0 README.md