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

  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.0.tar.gz (3.8 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.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: turbowarp_cli-0.0.0.tar.gz
  • Upload date:
  • Size: 3.8 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.0.tar.gz
Algorithm Hash digest
SHA256 046ba69686abe142682b492c99e65320584696465304cda6799dbef74a27460f
MD5 8f087bdc861738cf802730453f8a71f3
BLAKE2b-256 9917a762b9a635515ed9a0d03de06c608bde2a8550f6a79c6e9ba65b1eada1b9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: turbowarp_cli-0.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.3 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 43a5f64bac0459fdc3363ec5aa847b9ac4c8d0dce1487be588f738dd45228d48
MD5 7ad249bec8d89107e148433ec0257be2
BLAKE2b-256 9d1f27b16e408ce947c2335aa9ca70a4215b0c0b5a206a700dd2f66aadff7416

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