feat(cli): Add a CLI for edge.#14
Conversation
|
Status snapshot of the CLI. The commands that work complete are init (creates the directory, main.py, packages.json, and index.html), add/remove (edits packages.json against the official registry), and serve (axum + tower-livereload + notify, serving static files with live reload). The other half: run, repl, test, and build, are stubs; run exits with "not wired yet: needs the runtime engine". The test command also still needs the Edge Python test module (the @test/expect paradigm). In short: the browser-less half is done, and the browser-dependent half, the headless browser hosting the runtime is the big, hard slice still ahead, which is exactly the real unbudgeted cost I flagged. A few honest caveats: outputs don't yet match the README verbatim (e.g. serve doesn't measure or print "ready in 238ms"); serve compiles but I haven't tested it against a real browser, though it's a straightforward static server. Also, cargo.toml is lowercase on disk, fine here on WSL with a case-insensitive FS, but cargo requires Cargo.toml on Linux/CI, so it needs to be renamed (git mv cargo.toml Cargo.toml) before it hits the repo. |
No description provided.