Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 445 Bytes

File metadata and controls

19 lines (16 loc) · 445 Bytes

send-text

The send-text command sends the message to the ssh terminal without waiting for the terminal prompt. We use the command when there is a long-running sh command that does not have a prompt. The send-text is designed for sh observation in watch, timer, or on-signal.

- sh: long-running.sh
  watch:
  - regex: ready
    then:
    - send-text: start
  - timer:
      1s:
      - send-text: setup