feat: add create-user cli
This commit is contained in:
@@ -3,7 +3,8 @@
|
||||
Executable entrypoints live here.
|
||||
|
||||
- `cmd/server`: main web process (`go run ./cmd/server`)
|
||||
- `cmd/create-user`: admin CLI for adding login users (`go run ./cmd/create-user --email user@example.com --password-stdin`)
|
||||
|
||||
## Why this structure
|
||||
|
||||
I wanted to keep the repository root clean and focused on project metadata like `README.md`, `go.mod`, and `Dockerfile`. Keeping entrypoints under `cmd/` also makes it easy to add more binaries later without cluttering the root, and it matches standard Go conventions for projects that grow beyond a single binary.
|
||||
I wanted to keep the repository root clean and focused on project metadata like `README.md`, `go.mod`, and `Dockerfile`. Keeping entrypoints under `cmd/` also makes it easy to add more binaries later without cluttering the root, and it matches standard Go conventions for projects that grow beyond a single binary.
|
||||
|
||||
Reference in New Issue
Block a user