turbowarp-cli


Nameturbowarp-cli JSON
Version 0.0.17 PyPI version JSON
download
home_pageNone
SummaryRun scratch projects in your terminal using turbowarp scaffolding
upload_time2025-09-07 14:58:52
maintainerNone
docs_urlNone
authorfaretek1
requires_pythonNone
licenseNone
keywords goboscript scratch turbowarp
VCS
bugtrack_url
requirements playwright rich
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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`

<details>
<summary>Bleeding edge:</summary>
1. git clone this repo
2. `pip install -e .`
3. to update, use `git pull`
</details>

## 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`

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "turbowarp-cli",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "goboscript, scratch, turbowarp",
    "author": "faretek1",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/c4/60/321606d4a4a376473f3332af665cb034ac718213de0eb5fdb3e91e88aebe/turbowarp_cli-0.0.17.tar.gz",
    "platform": null,
    "description": "# tw-cli\n\n> Run scratch projects in the terminal\n\n- Uses playwright and turbowarp scaffolding\n- Supports the turbowarp debugger's log, warn, error and breakpoint blocks.\n- Supports exit codes with the `TW-CLI: exit code` variable **for all sprites**.\n\n## Installation\n\n`pip install turbowarp-cli`\n\n<details>\n<summary>Bleeding edge:</summary>\n1. git clone this repo\n2. `pip install -e .`\n3. to update, use `git pull`\n</details>\n\n## Usage\n\n`twcli run <Project path>`\n\nIt only works on project files.\n\n---\n\nIf you want to automatically supply inputs to `ask and wait` blocks, use the -i command:\n\n`twcli run .\\Project.sb3 -i \"hi\" \"there`\n\nThis provides the arguments:\n- `hi`\n- `there`\n\nIf you want to disable headless mode (to see the browser), use `-H`:\n\n`twcli run .\\Project.sb3 -i \"hi\" \"there\" -H`\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Run scratch projects in your terminal using turbowarp scaffolding",
    "version": "0.0.17",
    "project_urls": {
        "Documentation": "https://github.com/inflated-goboscript/tw-cli",
        "Homepage": "https://github.com/inflated-goboscript/tw-cli",
        "Source": "https://github.com/inflated-goboscript/tw-cli"
    },
    "split_keywords": [
        "goboscript",
        " scratch",
        " turbowarp"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "35baaa563e0f42f98c9fe6ac69622297dbb2b5b1e13a31205cb58e6d6c49c544",
                "md5": "a8ac9bee589adccac20fbc3f9e026024",
                "sha256": "2f7f1c3197f438d347c39a250b1ce6748f68a7b07a9dc6ee216b5c0fa55ef81b"
            },
            "downloads": -1,
            "filename": "turbowarp_cli-0.0.17-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a8ac9bee589adccac20fbc3f9e026024",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 2379497,
            "upload_time": "2025-09-07T14:58:51",
            "upload_time_iso_8601": "2025-09-07T14:58:51.236157Z",
            "url": "https://files.pythonhosted.org/packages/35/ba/aa563e0f42f98c9fe6ac69622297dbb2b5b1e13a31205cb58e6d6c49c544/turbowarp_cli-0.0.17-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "c460321606d4a4a376473f3332af665cb034ac718213de0eb5fdb3e91e88aebe",
                "md5": "e4848a236f46959508663441eb218471",
                "sha256": "b720bc8cb6732877eb7c74aa17c2e916989fd63847eb29d28aaab0a2fd7d7cd2"
            },
            "downloads": -1,
            "filename": "turbowarp_cli-0.0.17.tar.gz",
            "has_sig": false,
            "md5_digest": "e4848a236f46959508663441eb218471",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 2376522,
            "upload_time": "2025-09-07T14:58:52",
            "upload_time_iso_8601": "2025-09-07T14:58:52.661749Z",
            "url": "https://files.pythonhosted.org/packages/c4/60/321606d4a4a376473f3332af665cb034ac718213de0eb5fdb3e91e88aebe/turbowarp_cli-0.0.17.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-09-07 14:58:52",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "inflated-goboscript",
    "github_project": "tw-cli",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "playwright",
            "specs": [
                [
                    "~=",
                    "1.55.0"
                ]
            ]
        },
        {
            "name": "rich",
            "specs": [
                [
                    "~=",
                    "14.1.0"
                ]
            ]
        }
    ],
    "lcname": "turbowarp-cli"
}
        
Elapsed time: 0.54191s