reactpy icon indicating copy to clipboard operation
reactpy copied to clipboard

Create `reactpy run` CLI command

Open Archmonger opened this issue 2 years ago • 0 comments

Current Situation

Users are currently expected to type reactpy.run(my_app) within their Python files in order to test ReactPy. Then, they must run python example.py in order to start the webserver.

However, in the python web development space, web servers are almost always run via CLI.

Proposed Actions

Create a reactpy run CLI command that matches our reactpy.run(...) function.

Interface: reactpy run path.to.my:component

Archmonger avatar Jun 23 '23 03:06 Archmonger