summaryrefslogtreecommitdiffstats
path: root/cmd/ship/host/host.go
blob: 81403f96d4b4cbcd5dab02a804b9b3fa37e05736 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package host

import (
	"github.com/spf13/cobra"
)

var Cmd = &cobra.Command{
	Use:   "host",
	Short: "Manage VPS host",
	Long:  "Commands for managing and monitoring the VPS host",
}

func init() {
	Cmd.AddCommand(initCmd)
	Cmd.AddCommand(statusCmd)
	Cmd.AddCommand(updateCmd)
	Cmd.AddCommand(sshCmd)
	Cmd.AddCommand(setDomainCmd)

	initCmd.Flags().String("base-domain", "", "Base domain for auto-generated subdomains (e.g., apps.example.com)")
}