feat: scaffold Go project with cobra CLI, Makefile, and config

Set up the Go module, directory structure, and minimal CLI entrypoint
for the awesome-docker Go rewrite. Includes:
- cobra-based CLI with version command
- Makefile with build/test/lint/check/health/report/clean targets
- config/exclude.yaml migrated from tests/exclude_in_test.json
- config/website.tmpl.html copied from website/index.tmpl.html
- .gitignore updated for Go binary

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Julien Bisconti
2026-02-27 19:03:06 +01:00
parent bae26ccdb1
commit 08da394e71
7 changed files with 316 additions and 0 deletions

23
Makefile Normal file
View File

@@ -0,0 +1,23 @@
BINARY := awesome-docker
.PHONY: build test lint check health report clean
build:
go build -o $(BINARY) ./cmd/awesome-docker
test:
go test ./internal/... -v
lint: build
./$(BINARY) lint
check: build
./$(BINARY) check
health: build
./$(BINARY) health
report: build
./$(BINARY) report
clean:
rm -f $(BINARY)