feat: add CLI configuration flags

Add clap-powered --bind, --static-dir, and --data-dir flags for human-run
server configuration. The merge order is now explicit: command-line arguments
win over UPL_* environment variables, which still fall back to the existing
repository-local defaults.

Document the new flags and allow just run to forward arguments to cargo so the
help text can be checked through the normal task runner.

Test Plan:
- just check
- cargo run -- --help

Refs: none
This commit is contained in:
2026-05-30 17:52:00 +02:00
parent 8d81b436e5
commit 996ad5c4c8
6 changed files with 266 additions and 14 deletions
+2 -2
View File
@@ -20,5 +20,5 @@ check:
just static-check
just clippy
run:
cargo run
run *args:
cargo run -- {{args}}