WebPy Command Line
Commands
Running the command webpy -h will output a list of commands for the current version. Currently, the commands are:
webpy new {proj-name}- Create a new project with nameproj-namewebpy route {route-name}- Create a new filesystem route (this must be underroot/) with nameroute-namewebpy run- Run this in the project dir to start your app using Flaskwebpy build- Package the program into abuild.pyfilewebpy compile- Package the program into abuild.pycfilewebpy buildpyx- Compile the.pyxfiles into.pyfiles – automatically runs through thebuild,compile, andruncommandswebpy buildmd- Transpile all Markdown files to HTML
Options
--no-compile-md- Do not transpile Markdown to HTML when running/building--no-compile-pyx- Do not transpile PyX to Python when running/building--no-reload-md- When running the app, do not re-transpile Markdown files if changes are detected (this is auto-set if--no-compile-mdis set)--no-reload-pyx- When running the app, do not re-transpile PyX files if changes are detected (this is auto-set if--no-compile-pyxis set)--force-debug- Force the application to use debug mode when running/building