From 1ab181d1d7d75fd66c97d231d6eb77e1f05e0b3e Mon Sep 17 00:00:00 2001 From: Gabriel Arakaki Giovanini Date: Sun, 18 Jun 2023 17:37:34 +0200 Subject: feat: Move params to flags Start using flags to set some params like key and database connection. As a flag parse I opt for a lib that uses posix style params. --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 9d82dd9..39c579c 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,10 @@ build: $(GO_BUILD) -o $(OUT) $(SERVER) run: sass - $(GO_RUN) $(SERVER) + $(GO_RUN) $(SERVER) \ + --log-level error \ + --aes-key=6368616e676520746869732070617373 \ + --root=${HOME} \ sass: @mkdir -p static -- cgit v1.2.3