Help us shape the future of Go! Take the 2026 Go Developer Survey

artisan

command
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2026 License: MIT Imports: 4 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/lago/main.go or ./cmd/artisan/main.go (the project-local CLI), 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