artisan

command
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: May 15, 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

In your own project, you can replace it with a tiny main that imports the driver you actually use and registers your custom commands:

package main

import (
	_ "github.com/devituz/lagodev/drivers/sqlite"

	"github.com/devituz/lagodev/cli"
	_ "myapp/migrations" // side-effect: registers migrations
	_ "myapp/seeders"    // side-effect: registers seeders
)

func main() { cli.Default().Execute() }

Jump to

Keyboard shortcuts

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