mirror of
https://github.com/gitpod-io/gitpod.git
synced 2025-12-08 17:36:30 +00:00
20 lines
304 B
Go
20 lines
304 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/gitpod-io/gitpod/supervisor/pkg/supervisor"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var runCmd = &cobra.Command{
|
|
Use: "run",
|
|
Short: "starts the supervisor",
|
|
|
|
Run: func(cmd *cobra.Command, args []string) {
|
|
supervisor.Run()
|
|
},
|
|
}
|
|
|
|
func init() {
|
|
rootCmd.AddCommand(runCmd)
|
|
}
|