dartisan_cli 1.4.0
dartisan_cli: ^1.4.0 copied to clipboard
dartisan, the Daravel command-line interface. Creates projects, runs the dev server with hot reload, generators, migrations, queues and native builds.
Changelog #
1.4.0 #
dartisan db:backup [--output] [--keep=N]: hot SQLite backups (VACUUM INTO, integrity checked).dartisan newincludes the feature flags migration; the welcome page links to/docs/api.buildOpenApiis re-exported frompackage:daravel.- Requires
daravel1.4.0.
1.3.0 #
dartisan model:show <Model> [--json];make:modeladds models tobootstrap/models.dart, whichdartisan newnow creates.mcp:servetoolsmodels,db_query(read-only),read_logs,last_error;docs_searchwithlocale: "id".dartisan mcp:installanddartisan new --mcp(.mcp.json+AGENTS.md).schedule:list --timezone;doctorwarns whenAPP_TIMEZONEis not UTC andSCHEDULE_TIMEZONEis empty.build --dockerleaves SQLite out whenDB_CONNECTIONis notsqlite.- Requires
daravel1.3.0.
1.2.0 #
dartisan mcp:serve [--allow-write]: MCP server on stdio for AI coding agents (about,routes,schema,conventions,docs_search;run_commandopt-in).dartisan build --no-sqlite: bundle without the SQLite library for PostgreSQL/MySQL apps;doctorwarns aboutsource: systemon an SQLite app.schedule:listshows each task's zone.- Requires
daravel1.2.0.
1.1.0 #
dartisan lintreportsunawaited_in_db_transactionandinvalid_validation_rule.- Requires
daravel1.1.0.
1.0.0 #
downandup(maintenance mode),db:show,db:tableandtinker.- MySQL and MariaDB: new projects register
daravel_mysql, andadoptaccepts MySQL applications. openapi:generatedocuments routes with file rules asmultipart/form-data.
1.0.0-beta.3 #
openapi:generatedocuments request bodies, query parameters and responses (Laravel resource and paginator envelopes,components.schemas) from route metadata.queue:pauseandqueue:continue;queue:workandschedule:workstop gracefully onSIGTERM.doctorcompares the connection pool against the server'smax_connections.env:encrypt,env:decryptandenv:obfuscate;adopt <laravel-path> [--check];serve --embed-queue --embed-scheduler.
1.0.0-beta.2 #
- Inside a project, the global
dartisannow runs the project CLI for every command, includingdartisan,dartisan --helpanddartisan <command> --help; onlynewstays global. dartisan newprojects serve the Daravel welcome page at/(HTML, or JSON for API clients) and include a welcome test; instructions usedartisan <command>.- The generated Dockerfile sets
PORT=8080so container platforms can override it.
1.0.0-beta.1 #
First public beta: dartisan new (api and minimal templates with CI and conformance tests), dev server with hot reload, generators, migrations, queue and schedule commands, doctor, test, native build (bundle with SQLite) and --docker, openapi:generate, model:sync.
The full history of the Daravel workspace is in the repository changelog.