Sha256: bda87e7d207149af4b61b225cdf777b666ef8158a2598996bd46c471c72a25ae

Contents?: true

Size: 273 Bytes

Versions: 1

Compression:

Stored size: 273 Bytes

Contents

require_relative "../cli_command"

module Spline

  class ProcessCommand < CliCommand
    
    argument :name, :desc => "The name of the process"

    def generate_process
      template('templates/process.tt', "process_definition/processes/#{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/process_command.rb