Added building and release tagging based builds
Release / release (push) Has been cancelled

This commit is contained in:
2026-05-12 06:57:08 +00:00
parent caa45ed603
commit 7ebed0f0aa
4 changed files with 86 additions and 3 deletions
+4 -2
View File
@@ -8,11 +8,13 @@ package cli
import "github.com/spf13/cobra"
// NewRootCommand returns the full cobra tree.
func NewRootCommand() *cobra.Command {
// NewRootCommand returns the full cobra tree. version is the build
// stamp surfaced via `qu --version`; pass "dev" when unset.
func NewRootCommand(version string) *cobra.Command {
root := &cobra.Command{
Use: "qu",
Short: "Quorum-based uptime monitor",
Version: version,
SilenceUsage: true,
SilenceErrors: true,
}