dwats
Directory-based Watson.
You can use this script to interact with the Watson command line utility, storing all data in a custom directory (defaulting to the working directory).
- Website: https://tailordev.github.io/Watson/
- GitHub: https://github.com/TailorDev/Watson
- PyPI: https://pypi.org/project/td-watson/
Usage
Important: this has been tested with Python 3.12.8 in Termux on Android.
Then you can move to your custom data directory and invoke the dwats.sh script from there, like this:
| Bash | |
|---|---|
Alternatively, you can invoke the script from anywhere you want, and specify the Watson data directory via the WATSON_DIR environment variable:
| Bash | |
|---|---|
Or even create an lwats.sh (Local Watson) script that always invokes dwats.sh with the same data directory:
| Bash | |
|---|---|
You can also invoke the script without parameters, to get a REPL prompt: