Added some ctl boilerplate

This commit is contained in:
2026-03-27 18:34:53 +08:00
parent bf85462e34
commit 87aa1d4b0b
30 changed files with 1813 additions and 19 deletions

14
clitools/makefile Normal file
View File

@@ -0,0 +1,14 @@
VERSION ?= dev
BIN_DIR := bin
build:
mkdir -p $(BIN_DIR)
go build -o $(BIN_DIR)/ctl-$(VERSION) ./cmd/ctl
run:
go run ./cmd/ctl
clean:
rm -rf $(BIN_DIR)