swordfish-rs 0.2.1

Cli tool for screen typing pre defined scripts
swordfish-rs-0.2.1 is not a library.
Visit the last successful build: swordfish-rs-0.6.0

Swordfish

Cli tool for screen typing pre defined scripts.

Example screenplay file:

- !clear
- !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

Quick start

Install

cargo install swordfish-rs

Usage

Create a screenplay file and run swordfish:

swordfish-rs path/to/file.yaml