luimagen

command
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package main @notice The luimagen CLI: scaffolds one table's CRUD layer — model struct, SDL, and the five resolver bodies — from its fields.

@dev A thin flag-parsing wrapper over github.com/ulas96/luima/luimagen, which holds the actual implementation and the design behind it (docs/luimagen.md). Nothing in the library imports this package, so `github.com/ulas96/luima` gains no surface from it — the one exception to CLAUDE.md's "no scaffolding CLI", for the reason in docs/luimagen.md §1.

Usage, from a gqlgen consumer module's root:

go run github.com/ulas96/luima/cmd/luimagen -type User \
  -field PersonalID:string:pk -field Name:string -field Projects:[]string

Jump to

Keyboard shortcuts

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