Sha256: 29d2e9dae5f312f32f2d17cd4465822d0e4aceb23e8d0ba70cbe34906b4322ac
Contents?: true
Size: 452 Bytes
Versions: 2
Compression:
Stored size: 452 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 def self.description "generates a step stub" end def self.usage "spline step NAMESPACE NAME" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spline-0.0.19 | lib/spline/commands/concrete_commands/step_command.rb |
spline-0.0.18 | lib/spline/commands/concrete_commands/step_command.rb |