lib/pleiades/generators/pleiades/command/command_generator.rb in pleiades-0.1.4 vs lib/pleiades/generators/pleiades/command/command_generator.rb in pleiades-0.1.5
- old
+ new
@@ -29,9 +29,10 @@
end
def generate_command
commands_path = Pleiades::Config.command.commands_path
@names.each do |name|
+ @command_name = name
template 'command.erb', "#{commands_path}/#{options['dir']}/#{name}.rb"
end
end
def drow_route