docs: reword cmd README to match main README prose
This commit is contained in:
@@ -1,11 +1,9 @@
|
|||||||
# cmd layout
|
# cmd
|
||||||
|
|
||||||
This repository keeps executable entrypoints under `cmd/`.
|
Executable entrypoints live here.
|
||||||
|
|
||||||
- `cmd/server`: main web process (`go run ./cmd/server`)
|
- `cmd/server`: main web process (`go run ./cmd/server`)
|
||||||
|
|
||||||
Why this exists:
|
## Why this structure
|
||||||
|
|
||||||
- Keeps the repository root focused on project metadata (`README.md`, `go.mod`, `Dockerfile`, etc)
|
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.
|
||||||
- Scales cleanly if more binaries are added later (for example: `cmd/migrate`, `cmd/admin`, `cmd/worker`)
|
|
||||||
- Matches common Go repository conventions for multi-binary or growing services
|
|
||||||
Reference in New Issue
Block a user