routed_cli 0.2.1+1 copy "routed_cli: ^0.2.1+1" to clipboard
routed_cli: ^0.2.1+1 copied to clipboard

Command-line tooling for the Routed framework with project scaffolding and management commands.

routed_cli #

Pub Version CI License Sponsor

Command-line tooling for the Routed framework. It scaffolds projects, manages providers and middleware, generates configuration defaults, and offers helpers for local dev workflows.

Highlights #

  • Scaffolding templates for API, web, and full-stack apps with matching tests and env files.
  • Config generation powered by Routed’s provider snapshots, so stubs always match the latest defaults.
  • Provider + middleware management including manifest edits and config doc rendering.
  • Developer ergonomics such as the dev command for restart loops and tooling that mirrors the production CLI.

Install #

dev_dependencies:
  routed_cli: ^0.2.1

Add the executable to your dev_dependencies and invoke it via dart run. Prefer the global install (dart pub global activate routed_cli) when you want the routed command everywhere.

Commands #

  • routed create <name> – scaffold API/web/fullstack templates with env files and starter tests.
  • routed config:init – write config stubs using Routed’s provider defaults.
  • routed provider:list --config – inspect enabled providers and their config docs.
  • routed dev – run the development server with auto-restart hooks.

Example #

dart run routed_cli create demo_api --template api
cd demo_api
dart run routed config:init
dart run routed dev

See lib/src/args/commands and the tests under test/ for more examples.

Funding #

Like the tooling? Sponsor @kingwill101 to help keep releases and new commands flowing.***

0
likes
150
points
5
downloads

Publisher

unverified uploader

Weekly Downloads

Command-line tooling for the Routed framework with project scaffolding and management commands.

Repository (GitHub)
View/report issues

Documentation

API reference

Funding

Consider supporting this project:

www.buymeacoffee.com

License

MIT (license)

Dependencies

args, file, json2yaml, path, routed, stream_transform, watcher, yaml

More

Packages that depend on routed_cli