Files
VERSE ebde9ba68f refactor(commands): separate commands and its core into two folders (#32)
- I think it would be better if one for commands only, one for the spec
handling core logic so people won't be confused by the core logic inside
the commands folder (cleaner I guess)
- Regen docs
2026-07-05 11:27:30 +07:00

26 lines
1.0 KiB
Go

package sys
import (
"github.com/versenilvis/iris/spec"
)
func init() {
spec.Register(&spec.Spec{
Name: "mosh",
Description: "Address of remote machine to log into",
Options: []spec.Option{
{Name: "--help", Description: "Show help for mosh"},
{Name: "--client", Description: "Local echo options"},
{Name: "-4", Description: "Use IPv4 only"},
{Name: "-6", Description: "Use IPv6 only"},
{Name: "--family", Description: "Network Type"},
{Name: "--port", Description: "Server-side UDP port or range, (No effect on server-side SSH port)"},
{Name: "--bind-server", Description: "Do not allocate a pseudo tty on ssh connection"},
{Name: "--no-init", Description: "Do not send terminal initialization string"},
{Name: "--local", Description: "Run mosh-server locally without using ssh"},
{Name: "--experimental-remote-ip", Description: "Select the method for discovering the remote IP address to use for mosh"},
{Name: "--version", Description: "Version and copyright information"},
},
})
}