create store / service
nexler create store / nexler create service
nexler create store|service <name> [flags…]
Scaffolds a plain, standalone service or store package — no handler, no model, no route, no aggregator wiring. <name> addresses the package as module[/submodule], e.g. purchase or purchase/verify. Nothing imports it automatically; wire it up by hand from wherever needs it.
| Flag | Default | Description |
|---|---|---|
| -file | <pkgname>store / <pkgname>service | Base file name for the generated file. |
| -dir | "." | Path to the app directory (must contain go.mod). |
| -store | "" | Service only. Link this service's TODO comment to an already-scaffolded store, as module[/submodule] — purely informational. |
nexler create service apps nexler create store apps