dart_frog_cli
1.2.15, released 3 days ago by dart-frog.dev
Official command-line interface for the Dart Frog backend framework.
What it does
Provides tools to create, build, run, and manage Dart Frog backend applications and routes. It includes commands for local development servers and production builds.
AI-written summary of version 1.2.14, based on the package's README and metadata. Report an inaccuracy
Use it when
- You are developing a backend application using the Dart Frog framework.
- You need to scaffold new routes or middleware in a Dart Frog project.
Skip it when
- You are building a frontend Flutter application without a Dart Frog backend.
- You are using a completely different backend framework like Shelf directly.
Strengths
- Official CLI tool ensuring compatibility with Dart Frog features.
- Streamlines local development with live reloading and server management.
Weaknesses
- Tied specifically to the Dart Frog ecosystem.
- Not documented
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 12
Install via pub.dev to use the dart_frog command globally.
dart_frog create my_backend
cd my_backend
dart_frog devAlternatives
Packages that do the same job and could replace dart_frog_cli.
- shelf
Composable web server middleware for Dart
95Compare - vania
A fast backend framework for Dart with routing, ORM, migrations, and middleware.
71Compare - relic_core
Core framework for Relic web server
82Compare - shelf_router
A request router for the shelf web-framework with support for URL parameters and nested routers.
92Compare
Works with
Packages commonly used together with dart_frog_cli: ones it builds on, ones built on it, and its own family.
- uuiddart_frog_cli depends on itGenerates and parses RFC‑4122/9562 UUIDs (v1‑v8) for Dart.
- pubspec_parsedart_frog_cli depends on itParse pubspec.yaml files with a type‑safe API and detailed error reporting.
- watcherdart_frog_cli depends on itMonitors file system changes and notifies when files are added, removed, or modified.
- argsdart_frog_cli depends on itLibrary for parsing raw command-line arguments into options and values using GNU and POSIX styles.
- stream_transformdart_frog_cli depends on itExtension methods adding common stream transform operators
- equatabledart_frog_cli depends on itProvides value‑based equality for Dart objects without manual == and hashCode.
- pub_updaterdart_frog_cli depends on itChecks if a pub package is up to date and can trigger updates
- masondart_frog_cli depends on itDart template generator for quick file creation