mirror of
https://github.com/DeBrosOfficial/orama.git
synced 2026-03-17 16:06:58 +00:00
18 lines
467 B
Go
18 lines
467 B
Go
package node
|
|
|
|
import (
|
|
"github.com/DeBrosOfficial/network/pkg/cli/production/upgrade"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var upgradeCmd = &cobra.Command{
|
|
Use: "upgrade",
|
|
Short: "Upgrade existing installation (requires sudo)",
|
|
Long: `Upgrade the Orama node binary and optionally restart services.
|
|
Uses rolling restart with quorum safety to ensure zero downtime.`,
|
|
Run: func(cmd *cobra.Command, args []string) {
|
|
upgrade.Handle(args)
|
|
},
|
|
DisableFlagParsing: true,
|
|
}
|