Sha256: d20228c379ad38d208199e46455d874f5fd1358cf4332c40846b9815d83f55d8
Contents?: true
Size: 819 Bytes
Versions: 1
Compression:
Stored size: 819 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 def initialize contents, options = {} super contents, options end # Returns a configuration fragment that will put # this command 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
scide-0.0.6 | lib/scide/commands/show.rb |