Sha256: 13bbe2db03afc41a8d85574595221a9126e9814fff135a8b562c713b296dcbc0

Contents?: true

Size: 427 Bytes

Versions: 2

Compression:

Stored size: 427 Bytes

Contents

# frozen_string_literal: true

<%= "# Skeleton for this file was generated by `bin/rails generate oneshot #{name}`" %>
<%= "# For copy and paste: `bin/rake oneshot:#{task_name}`" %>
namespace :oneshot do
  desc ''
  task <%= task_name %>: :environment do<%= configuration.arguments && " |#{configuration.arguments.join(", ")}|" %>
    <%- if configuration.body -%>
<%= configuration.body.indent(4) %>
    <%- end -%>
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
oneshot_task_generator-0.1.5 lib/generators/oneshot/templates/oneshot.rake.erb
oneshot_task_generator-0.1.4 lib/generators/oneshot/templates/oneshot.rake.erb