Codevault initial commit

This commit is contained in:
2026-08-16 16:23:14 +03:00
commit 6ee80f1c8f
47 changed files with 3177 additions and 0 deletions

23
cmd/root.go Normal file
View File

@@ -0,0 +1,23 @@
package cmd
import (
"os"
"github.com/spf13/cobra"
"github.com/kanootoko/codevault/internal"
)
var rootCmd = &cobra.Command{
Use: "codevault",
Short: "CodeVault - store and retrieve secrets by access code",
Long: `CodeVault is a small HTTP service that stores string values under access codes.`,
SilenceUsage: true,
Version: internal.Version,
}
func Execute() {
if err := rootCmd.Execute(); err != nil {
os.Exit(1)
}
}