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

Uploaded Python 3

File details

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

File metadata

  • Download URL: turbowarp_cli-0.0.2.tar.gz
  • Upload date:
  • Size: 5.2 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.2.tar.gz
Algorithm Hash digest
SHA256 0c4734e5c4fb9eaee218556a7f6841c17fe7052e49e124c2597eddbb5ec3b3a6
MD5 42dc012f73711438553e78669d9310d9
BLAKE2b-256 5724968efe5d07b397cd8de25e79ff24cfa52a9ae04b86038ca5194225e6f96c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: turbowarp_cli-0.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cb25efc202a703567b7dee0a224a555ba9fe9bbac8b6a372db0434ca12223a82
MD5 10176274bb95ec36fee4735109c33181
BLAKE2b-256 72da7eab845310b480d57cd37fda81efebf4e7d7b1dff671266347aeb2808449

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