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

Uploaded Python 3

File details

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

File metadata

  • Download URL: turbowarp_cli-0.0.11.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.11.tar.gz
Algorithm Hash digest
SHA256 55aa9f03a0c0fb5c565e1cb2f46761cc0924e0a48554329214a1018ca6659b1d
MD5 0180453e8ee52708a3d4e8c2671839f8
BLAKE2b-256 1279be3c479366962db91e032a26730c37bebec129646ed2a06b1e2e64520fcb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: turbowarp_cli-0.0.11-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.11-py3-none-any.whl
Algorithm Hash digest
SHA256 bc0e378742c3adc0c530367ce7f8264174b22a886d88ecf07decfb9bc68c3378
MD5 481414d0e3f3c19cbe5d22b0babadfaf
BLAKE2b-256 3842788805a286d88646cab2bc30d16195022ad39d7ab0ba7f989a437a15058b

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