Skip to main content

dartisan_cli 1.0.0-beta.2 copy "dartisan_cli: ^1.0.0-beta.2" to clipboard
dartisan_cli: ^1.0.0-beta.2 copied to clipboard

dartisan, the Daravel command-line interface. Creates projects, runs the dev server with hot reload, generators, migrations, queues and native builds.

Daravel

dartisan_cli #

dartisan, the command-line interface of Daravel, a Laravel-inspired, AOT-native backend framework for Dart.

dart pub global activate dartisan_cli
dartisan new blog                  # api template: auth, users, tokens, tests, CI
dartisan new tiny --template=minimal

Inside a project, the project-bound CLI (bin/dartisan.dart) knows your application:

Group Commands
Project about, doctor [--production], key:generate, stub:publish, lint
Serve, test & build serve [--watch] [--isolates=N], test [--conformance] [--security] [--coverage], build [--with-cli] [--docker], route:list, openapi:generate
Database migrate, migrate:status, migrate:rollback, migrate:fresh, db:seed, model:sync
Generators make:model, make:migration, make:controller, make:request, make:job, make:policy, make:resource, make:test and more
Queue & schedule queue:work, queue:failed, queue:retry, schedule:work, schedule:list

serve --watch hot-reloads through the Dart VM service; build runs dart build cli and produces a native bundle with SQLite included.

To embed the runner in your own entrypoint, see example/main.dart. Documentation: https://github.com/daravel-dev/daravel/blob/main/docs/guide/index.md.

License and trademarks #

MIT. "Laravel" is a trademark of Laravel Holdings Inc.; "Dart" and "Flutter" are trademarks of Google LLC. Daravel is an independent project, not affiliated with or endorsed by either. Code generated by dartisan belongs to you.

0
likes
0
points
100
downloads

Documentation

Documentation

Publisher

verified publisherdaravel.teoprayoga.my.id

Weekly Downloads

dartisan, the Daravel command-line interface. Creates projects, runs the dev server with hot reload, generators, migrations, queues and native builds.

Homepage
Repository (GitHub)
View/report issues

Topics

#cli #codegen #server #backend #openapi

License

unknown (license)

Dependencies

args, daravel, daravel_lints, path, vm_service, watcher

More

Packages that depend on dartisan_cli