Skip to main content

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 code variable 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:

  • hi
  • there

If you want to disable headless mode (to see the browser), use -H:

twcli run .\Project.sb3 -i "hi" "there" -H

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

turbowarp_cli-0.0.14.tar.gz (2.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

turbowarp_cli-0.0.14-py3-none-any.whl (2.4 MB view details)

Uploaded Python 3

File details

Details for the file turbowarp_cli-0.0.14.tar.gz.

File metadata

  • Download URL: turbowarp_cli-0.0.14.tar.gz
  • Upload date:
  • Size: 2.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.23

File hashes

Hashes for turbowarp_cli-0.0.14.tar.gz
Algorithm Hash digest
SHA256 6b9cbe2f3af1328e63757433655911ad035e5c7002530c81fa2ddda6544653bc
MD5 41e803b92c2272214102a9eba1496393
BLAKE2b-256 1d79f6ff49ffae55eab7ac6468faddb9eaa3e3defa923e371c9ef23053222374

See more details on using hashes here.

File details

Details for the file turbowarp_cli-0.0.14-py3-none-any.whl.

File metadata

  • Download URL: turbowarp_cli-0.0.14-py3-none-any.whl
  • Upload date:
  • Size: 2.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.23

File hashes

Hashes for turbowarp_cli-0.0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 b309007aad86b0f73b5b2d6f99215e198447abb0112ceac77f76e923d2ce6585
MD5 3efd3fa2f842fb5a49f7d56ba4bbc26a
BLAKE2b-256 76a679f52735afc4cb11a9bf62340a653e3dacd183add8c46360cfdfee02faaa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page