Initial QSfera import

This commit is contained in:
Курнат Андрей
2026-06-07 10:20:04 +03:00
commit 2315f25754
16485 changed files with 4826827 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
package clihelper
import (
"fmt"
"github.com/qsfera/server/pkg/version"
"github.com/spf13/cobra"
)
// DefaultApp is a wrapper for DefaultApp that adds Cobra specific settings
func DefaultApp(app *cobra.Command) *cobra.Command {
// TODO: when migration is done this has to become DefaultApp
// version info
app.Version = fmt.Sprintf("%s (%s) (%s)", version.String, "КуСфера", version.Compiled())
return app
}