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.5.tar.gz (5.3 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.5-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: turbowarp_cli-0.0.5.tar.gz
  • Upload date:
  • Size: 5.3 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.5.tar.gz
Algorithm Hash digest
SHA256 17c4cb300eb3bd8b52255123a3873331ca1584817b8cf78b2a660094f5c65c7c
MD5 106656695e00905be7f54b8facbb4e62
BLAKE2b-256 7a68b950b49ae698fddff2955a554ef7278c576d8d023be84ba2d02dc0bad080

See more details on using hashes here.

File details

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

File metadata

  • Download URL: turbowarp_cli-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 6.0 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 b59114259032a301fcf786dff173ddf8d6604eb7f3d661aa75c0e35f2f35f780
MD5 c938d36d64674dee1e3c8053fe6ef3d2
BLAKE2b-256 23b7935be7d512884ece3766344049afb00d79a1095a1b53d0464be73015326f

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