[new tool!] swordfish-rs | Typing effect cli tool for screencasts and demos

Typing effect cli tool for screencasts and demos

Star it here: :star: https://github.com/vim-zz/swordfish-rs

  1. :speech_balloon: Describe what you are doing
  2. :zap: Run any terminal command and get their outputs to screen
  3. :robot: Reproducible steps - iterate on the screenplay file till perfection
  4. :sunglasses: Mimics real person behavior with realtime typing into terminal

Example screenplay.yaml file:

- !clear
# - !turbo {by: 3}
- !write {msec: 0, color: green, text:  "$ "}
- !write {msec: 20, text:    "i am going to list this dir"}
- !wait {msec: 1000}
- !erase {msec: 20, by_chars: xxxxxxxxxxxxxxxxxxxxxxxxxxx }
- !wait {msec: 1000}
- !write {msec: 20, text: ls}
- !wait {msec: 1000}
- !execute {line: ls -la}
- !wait {msec: 3000}
- !write {msec: 1000, color: green, text:  "$ "}
- !write {msec: 20, text: "bye, press any key..."}
- !pause
swordfish screenplay.yaml