mirror of
https://github.com/cirruslabs/orchard.git
synced 2026-10-01 04:22:03 +02:00
* Fix potential NPE in Client.wsRequest()
* Introduce "orchard {port-forward, vnc} worker WORKER_NAME"
* portspec.go: simplify logic and respect [LOCAL_PORT]:REMOTE_PORT format
15 lines
257 B
Go
15 lines
257 B
Go
package vnc
|
|
|
|
import "github.com/spf13/cobra"
|
|
|
|
func NewCommand() *cobra.Command {
|
|
command := &cobra.Command{
|
|
Use: "vnc",
|
|
Short: "Open VNC session with the resource",
|
|
}
|
|
|
|
command.AddCommand(newVNCVMCommand(), newVNCWorkerCommand())
|
|
|
|
return command
|
|
}
|