From d50204b0125367fbe26dee36bb93764ead80b5f8 Mon Sep 17 00:00:00 2001 From: Vojtech Vitek Date: Tue, 23 Sep 2025 14:58:30 +0200 Subject: [PATCH] Move the main() CLI entrypoint to ./cmd/sql2diagram/ --- Makefile | 2 +- main.go => cmd/sql2diagram/main.go | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename main.go => cmd/sql2diagram/main.go (100%) diff --git a/Makefile b/Makefile index 5c1e76c..33195ab 100644 --- a/Makefile +++ b/Makefile @@ -1,2 +1,2 @@ run-example: - go run . -schema ./_example/schema.sql > ./_example/schema.svg + go run ./cmd/sql2diagram -schema ./_example/schema.sql > ./_example/schema.svg diff --git a/main.go b/cmd/sql2diagram/main.go similarity index 100% rename from main.go rename to cmd/sql2diagram/main.go