routed_cli 0.3.2
routed_cli: ^0.3.2 copied to clipboard
CLI runtime and command framework utilities for the Routed ecosystem.
Changelog #
0.3.2 - 2026-08-26 #
- Add repeatable Cloudflare
--var NAME=VALUEdeployment options for explicitly provisioning plaintext Worker variables such asAUTH_ORIGIN.
0.3.1 - 2026-08-25 #
- Adopted
very_good_analysisand completed public API Dartdoc coverage across the CLI, while preserving existing command and fluent-runner contracts. - Expanded examples for typed scaffolding, provider command registration, and Cloudflare deployment bindings and factory modes.
0.3.0 #
- Cloudflare deploys now support environment-backed Worker factories with
--cloudflare-factory environment, generatingdefineCloudflareFetchFactoryWithEnvironmentAsyncfor typed runtime bindings such as D1. - Defer project-command discovery until an invocation selects a non-built-in command, so broken project commands cannot block global flags or built-ins.
- New projects now get a typed
lib/config.dartbootstrap.lib/app.dartconsumes that bootstrap so CLI route inspection, OpenAPI generation, and deployment use the same provider composition as the application runtime. - Typed scaffolds now keep their shared config generic and compose only the providers selected by the template. Web starters use public typed view, storage, and static-mount constructors without YAML or implicit registries.
routed create --auth-plugin usernameopts into the username-first server plugin with typed auth deployment wiring; unselected auth plugins stay out.- Scaffold regression coverage now analyzes and compiles every generated project and executes its route-manifest entrypoint.
- API and full-stack templates now accept any
routed_testing0.x minor from0.4.0up to (but not including)1.0.0. - Cloudflare deploys now generate Container Durable Object wrappers and
containersconfiguration with--container. - Cloudflare deploys now emit
workflowsandsecrets_store_secretsbinding configuration with--workflowand--secrets-store. - Cloudflare deploys now accept repeatable
--d1 BINDING=DATABASE_NAME:DATABASE_IDoptions and emit the corresponding D1 bindings in generated Wrangler config. - Cloudflare deploys now accept repeatable
--r2,--queue, and--servicebindings and emit the corresponding R2, Queue producer, and service sections in generated Wrangler config. - Cloudflare deployment can now generate Durable Object factory registration,
Wrangler bindings, SQLite migrations, and named Worker class exports with
--durable-object. - Generated Durable Object exports now forward hibernation WebSocket message, close, and error callbacks.
0.2.2 #
- Updated the CLI to target the
routed0.4 provider facade. - Fixed scaffold expectations and configuration output for the current provider catalog.
0.1.0 #
- Initial extraction of Routed CLI runtime/framework utilities.
- Added command runner, base command, project command loader, and dev server runner.