(Feat): Initial Commit
Some checks failed
Build & Test / build-test (push) Has been cancelled
Build & Test / swagger-codegen-cli (push) Has been cancelled
CodeQL / Analyze (go) (push) Has been cancelled

This commit is contained in:
2026-07-03 19:41:31 +05:30
commit 7e940c83a7
461 changed files with 45002 additions and 0 deletions

29
scripts/cmd/handlers.go Normal file
View File

@@ -0,0 +1,29 @@
//go:build scripts
package cmd
import (
"os"
"github.com/rs/zerolog/log"
"github.com/spf13/cobra"
)
// handlersCmd represents the handlers command
// see handlers_*.go for sub_commands
var handlersCmd = &cobra.Command{
Use: "handlers <subcommand>",
Short: "Handlers related subcommands",
Run: func(cmd *cobra.Command, _ []string /* args */) {
if err := cmd.Help(); err != nil {
log.Error().Err(err).Msg("Failed to print help")
os.Exit(1)
}
os.Exit(0)
},
}
//nolint:gochecknoinits
func init() {
rootCmd.AddCommand(handlersCmd)
}