Sha256: 3898c30551d69eb74e66ab19eccf7ea87a4243442edb5f8287750cbf1a45584b
Contents?: true
Size: 735 Bytes
Versions: 5
Compression:
Stored size: 735 Bytes
Contents
module Scide module Commands # Prepares and shows a command but do not run it. # # == Configuration Example # # this YAML configuration, # projects: # project1: # options: # host: 127.0.0.1 # windows: # - "window1 SHOW ssh %{host}" # # # will produce the following command in window1: # ssh 127.0.0.1 class Show < Scide::Command # Returns a configuration fragment that will show # this command in a GNU Screen window without running it. # This will use screen's <tt>stuff</tt> command to # put the text in the window. def to_screen %|stuff "#{text_with_options}"| end end end end
Version data entries
5 entries across 5 versions & 1 rubygems