Add script command to allow calling external helper scripts

This commit is contained in:
2026-04-09 18:00:59 -05:00
parent 39847fe77a
commit a418f9a89f
3 changed files with 51 additions and 0 deletions

View File

@@ -129,6 +129,10 @@ Restore a `str` session from a saved state file (default `~/.str.json`).
#### `runfile <path>`
Execute the contents of the given file as a series of `str` commands.
#### `script <path> [...<args>]`
Execute an external script and replace the current subject with the returned output.
The current subject is passed as the first argument, followed by the optional additional `args`.
### Basic String Operations