Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 380 Bytes

user_guide.md

File metadata and controls

20 lines (13 loc) · 380 Bytes

User Guide

Developing a new plugin

Create a function, and then register it like below.

from pyscript import console, plugins


def create():
    """Creates a new PyScript Project from scratch."""
    console.print("pyscript create cmd not yet available..", style="bold green")
    return True


@plugins.register
def pyscript_subcommand():
    return create