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.1.tar.gz (3.9 kB 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.1-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: turbowarp_cli-0.0.1.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • 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.1.tar.gz
Algorithm Hash digest
SHA256 62482c395e6d3ef05d0a8db826fde7f356aba87aa6c3cb3fa9fa5535db8a4d5b
MD5 a6185ec4e9a8ede678a454a029536759
BLAKE2b-256 8c67ecfced7bb03c507fd874849123070d5915901cc6e2dbf2780f84fd71bce4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: turbowarp_cli-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e4c829b3be3c60bdc6c9128e3383120532956939e00aa9d3bb7e580abf2f3c35
MD5 c4b5a9115834c7d125cce4abf2785504
BLAKE2b-256 556dbaaa53e1bda16f9012ad6814ffb5d8b2f7b0ce75ec04130eed1e1f2b0122

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