Sha256: d9cb3452865f930147dcbb2b43adc50df2ca65d4af285bf7858bc1a21f76ba04

Contents?: true

Size: 325 Bytes

Versions: 2

Compression:

Stored size: 325 Bytes

Contents

require_relative "../command"

module Spline

  class ActionCommand < Command

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

    def generate_action
      template('templates/action.tt', "process_definition/actions/#{namespace}/#{name}.rb")
    end

  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spline-0.0.16 lib/spline/commands/concrete_commands/step_command.rb
spline-0.0.15 lib/spline/commands/concrete_commands/action_command.rb