mirror of
https://github.com/DeBrosOfficial/orama.git
synced 2026-03-17 12:06:57 +00:00
- Deleted redeploy.sh, which handled redeployment to nodes in devnet/testnet environments. - Removed upgrade-nodes.sh, responsible for rolling upgrades of nodes. - Eliminated upload-source-fanout.sh, which uploaded source archives to nodes in parallel. - Removed upload-source.sh, used for uploading and extracting source archives to VPS nodes.
34 lines
862 B
Go
34 lines
862 B
Go
package node
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
// Cmd is the root command for node operator commands (was "prod").
|
|
var Cmd = &cobra.Command{
|
|
Use: "node",
|
|
Short: "Node operator commands (requires sudo for most operations)",
|
|
Long: `Manage the Orama node running on this machine.
|
|
Includes install, upgrade, start/stop/restart, status, logs, and more.
|
|
Most commands require root privileges (sudo).`,
|
|
}
|
|
|
|
func init() {
|
|
Cmd.AddCommand(installCmd)
|
|
Cmd.AddCommand(uninstallCmd)
|
|
Cmd.AddCommand(upgradeCmd)
|
|
Cmd.AddCommand(startCmd)
|
|
Cmd.AddCommand(stopCmd)
|
|
Cmd.AddCommand(restartCmd)
|
|
Cmd.AddCommand(statusCmd)
|
|
Cmd.AddCommand(logsCmd)
|
|
Cmd.AddCommand(inviteCmd)
|
|
Cmd.AddCommand(migrateCmd)
|
|
Cmd.AddCommand(doctorCmd)
|
|
Cmd.AddCommand(reportCmd)
|
|
Cmd.AddCommand(pushCmd)
|
|
Cmd.AddCommand(rolloutCmd)
|
|
Cmd.AddCommand(cleanCmd)
|
|
Cmd.AddCommand(recoverRaftCmd)
|
|
}
|