Sha256: 1be681096ce19701171e1faf267a6bacaad6eab2f1d04e938a392d898cf76a88

Contents?: true

Size: 548 Bytes

Versions: 2

Compression:

Stored size: 548 Bytes

Contents

module Scide

  module Commands
    
    # Runs a command.
    #
    # ==== Configuration Example
    #   # this YAML configuration,
    #   projects:
    #     project1:
    #       windows:
    #         - "window1 RUN rails server"
    #
    #   # will produce the following command in window1:
    #   rails server
    class Run < Scide::Commands::Show

      # Appends a carriage return to the command so that
      # it will not only be shown but also executed.
      def text_with_options
        "#{super}\\012"
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
scide-0.0.7 lib/scide/commands/run.rb
scide-0.0.6 lib/scide/commands/run.rb