Sha256: f64b5375e5d48cb010759b06c3832f762a1296022707f190847bfdc7180f5fe9

Contents?: true

Size: 333 Bytes

Versions: 1

Compression:

Stored size: 333 Bytes

Contents

require_relative "../cli_command"

module Spline

  class ActionCommand < CliCommand

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

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

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spline-0.0.14 lib/spline/commands/concrete_commands/action_command.rb