Run scratch projects in your terminal using turbowarp scaffolding
Project description
tw-cli
Run scratch projects in the terminal
- Uses playwright and turbowarp scaffolding
- Supports the turbowarp debugger's log, warn, error and breakpoint blocks.
- Supports exit codes with the
TW-CLI: exit codevariable for all sprites.
Installation
pip install turbowarp-cli
Bleeding edge:
1. git clone this repo 2. `pip install -e .` 3. to update, use `git pull`Usage
twcli run <Project path>
It only works on project files.
If you want to automatically supply inputs to ask and wait blocks, use the -i command:
twcli run .\Project.sb3 -i "hi" "there
This provides the arguments:
hithere
If you want to disable headless mode (to see the browser), use -H:
twcli run .\Project.sb3 -i "hi" "there" -H
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file turbowarp_cli-0.0.8.tar.gz.
File metadata
- Download URL: turbowarp_cli-0.0.8.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
83315e4c9bb07daa14d22677f506f1cebfb146fe794ba4483320c8589985d248
|
|
| MD5 |
0bd0763cb2612196707434215398d905
|
|
| BLAKE2b-256 |
c97af5869d89efb6c12c332ff0723186b21d9d99fb8dc81abc2b18177037e58b
|
File details
Details for the file turbowarp_cli-0.0.8-py3-none-any.whl.
File metadata
- Download URL: turbowarp_cli-0.0.8-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee4a1e55b776410ca58f53a07b6d01e7f39923c44d25fc12b665e08c1068f726
|
|
| MD5 |
e0ff00f3b24ea96b1d6a497def729b09
|
|
| BLAKE2b-256 |
aff35939592e18ba7ff5d3ac7ed48e853bebd7f634d3a8005ec346cbe328d53e
|