Documentation
¶
Overview ¶
Command artisan is the default lagodev Artisan-style CLI binary.
Build it with:
go build -o artisan ./cmd/artisan
Auto-bootstrap: when invoked from a directory that contains ./cmd/artisan/main.go (the project-local artisan), the global binary transparently re-executes that local binary via `go run`. This is how project-specific migrations and seeders — registered through init() in the project's own packages — become visible without users having to remember a separate command. Set LAGO_BOOTSTRAPPED=1 in the environment to disable the indirection (also set automatically inside the child process to prevent infinite recursion).
Click to show internal directories.
Click to hide internal directories.