Sha256: e40ea5712c41bc0926702528af4c4e051ac6f91d428954075330d356d397ea5e

Contents?: true

Size: 325 Bytes

Versions: 1

Compression:

Stored size: 325 Bytes

Contents

require_relative "../command"

module Spline

  class StepCommand < Command

    argument :namespace, :desc => "Namespace of the step"
    argument :name, :desc => "Name of the step"

    def generate_step
      template('templates/definitions/step.tt', "process_definition/steps/#{namespace}/#{name}.rb")
    end

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spline-0.0.17 lib/spline/commands/concrete_commands/step_command.rb