Add README, LICENSE, Makefile, Dockerfile, and CI

Add a detailed README, WTFPL LICENSE, and build/CI tooling modeled on
the vaultik repo (Makefile, multi-stage digest-pinned Dockerfile,
.gitea/workflows/check.yml). Bump Go to 1.26.4 and pin golangci-lint
to v2.12.2. gofmt existing sources so the new fmt-check gate passes.
This commit is contained in:
2026-06-28 10:08:44 +02:00
parent 9c4f8a7cc9
commit 7316054b07
10 changed files with 413 additions and 7 deletions

View File

@@ -21,8 +21,8 @@ func main() {
var toFlag string
rootCmd := &cobra.Command{
Use: "bsdaily",
Short: "Extract a single day's data from the latest daily snapshot",
Use: "bsdaily",
Short: "Extract a single day's data from the latest daily snapshot",
SilenceUsage: true,
RunE: func(cmd *cobra.Command, args []string) error {
hasDate := dateFlag != ""