Advertisement
smeech

Trigger to read input from a file

Dec 16th, 2023 (edited)
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.27 KB | None | 0 0
  1. # Trigger to read input from a file
  2.   - trigger: :test
  3.     replace: "{{output}}"
  4.     vars:
  5.       - name: output
  6.         type: shell
  7.         params:
  8.          # cmd: echo $(</home/stephen/temp/br.txt) # Strips out newlines
  9.           cmd: cat /home/stephen/temp/br.txt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement