artisan

command
v0.19.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 4, 2026 License: MIT Imports: 8 Imported by: 0

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).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL