Sha256: ed6d50f7e182bbf7220ee0f853f3308dbc1271a8dd5303eb844e5606604c7e7d

Contents?: true

Size: 346 Bytes

Versions: 9

Compression:

Stored size: 346 Bytes

Contents

class OscMacheteRails::WorkflowTemplateGenerator < Rails::Generators::NamedBase
  source_root File.expand_path('../templates', __FILE__)

  argument :attributes, type: :array, default: [], banner: "field[:type][:index] field[:type][:index]"

  def copy_batch_script
    template "main.sh.mustache", "jobs/#{file_name}/main.sh.mustache"
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
osc_machete_rails-2.1.2 lib/generators/osc_machete_rails/workflow_template/workflow_template_generator.rb
osc_machete_rails-2.1.0 lib/generators/osc_machete_rails/workflow_template/workflow_template_generator.rb
osc_machete_rails-2.0.0 lib/generators/osc_machete_rails/workflow_template/workflow_template_generator.rb
osc_machete_rails-1.3.1 lib/generators/osc_machete_rails/workflow_template/workflow_template_generator.rb
osc_machete_rails-1.3.0 lib/generators/osc_machete_rails/workflow_template/workflow_template_generator.rb
osc_machete_rails-1.2.2 lib/generators/osc_machete_rails/workflow_template/workflow_template_generator.rb
osc_machete_rails-2.0.0.pre1 lib/generators/osc_machete_rails/workflow_template/workflow_template_generator.rb
osc_machete_rails-1.2.1 lib/generators/osc_machete_rails/workflow_template/workflow_template_generator.rb
osc_machete_rails-1.2.0 lib/generators/osc_machete_rails/workflow_template/workflow_template_generator.rb