Add task template
This commit is contained in:
parent
a9e6387b3a
commit
c524fcf3c7
1 changed files with 11 additions and 0 deletions
11
lib/templates/rails/task/task.rb.tt
Normal file
11
lib/templates/rails/task/task.rb.tt
Normal file
|
@ -0,0 +1,11 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
namespace :<%= file_name %> do
|
||||
<% actions.each do |action| -%>
|
||||
desc "TODO"
|
||||
task <%= action %>: :environment do
|
||||
end
|
||||
|
||||
<% end -%>
|
||||
end
|
Loading…
Reference in a new issue