Skip to content

feat(cli): Add a CLI for edge.#14

Merged
dylan-sutton-chavez merged 10 commits into
mainfrom
feat/edge-cli
May 28, 2026
Merged

feat(cli): Add a CLI for edge.#14
dylan-sutton-chavez merged 10 commits into
mainfrom
feat/edge-cli

Conversation

@dylan-sutton-chavez
Copy link
Copy Markdown
Owner

No description provided.

@dylan-sutton-chavez
Copy link
Copy Markdown
Owner Author

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.

@dylan-sutton-chavez dylan-sutton-chavez merged commit b9a6f65 into main May 28, 2026
1 check passed
@dylan-sutton-chavez dylan-sutton-chavez deleted the feat/edge-cli branch May 28, 2026 04:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant