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.15.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.15-py3-none-any.whl (2.4 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: turbowarp_cli-0.0.15.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.15.tar.gz
Algorithm Hash digest
SHA256 49f8b5ef2fe1e8dd40cf0b14e94b2c5f36f3d3a3fbcbde0715d1f6275665ac87
MD5 bc6d2b0a8881fc5beb6682f28de6105e
BLAKE2b-256 c01c9941204a707d0ccd21066e529698f1829e0ae344b8294f6c2b8691830c0b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: turbowarp_cli-0.0.15-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.15-py3-none-any.whl
Algorithm Hash digest
SHA256 d84dbc674e285a2dad53d9d8271cc15df77db4e523a52329196c18547ddd2f5f
MD5 ed2777352a5aea14e7eae9d4e7dbce0c
BLAKE2b-256 a48d26c18a64778fd0698c6ca7c226cfd2bb103b7bc2a79ae052f17519762b74

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