feat: add clap CLI arg parser, replacing MANDEL_* debug env vars

Prep work for a headless render mode: native debug flags (kind, power,
julia, share, view, de, buddhabrot, export, ...) are now parsed with
clap instead of read from env vars, with proper --help/--version.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018GFBP9qrNg6NGJWzzP36xe
This commit is contained in:
2026-09-19 17:51:03 +02:00
co-authored by Claude Sonnet 5
parent 3797a33230
commit ff5ac0f262
4 changed files with 114 additions and 27 deletions
+3 -1
View File
@@ -9,10 +9,12 @@
// and calls the wasm `main`, which boots eframe onto the page's <canvas>.
mod app;
mod lights;
mod fractal;
mod lights;
mod view;
#[cfg(not(target_arch = "wasm32"))]
mod cli;
#[cfg(not(target_arch = "wasm32"))]
mod worker;