$ cubic ports --help
List ports for VM instances
Shows port forwarding rules from VM instance to host. Use cubic modify <instance>
to configure the forwarding. The SSH port is assigned by cubic and is shown by
cubic show instead.
Examples:
$ cubic ports
Instance Host Guest Protocol In Use
noble-arm64 127.0.0.1:2222 :22 /tcp no
trixie 127.0.0.1:4000 :4000 /tcp yes
trixie 0.0.0.0:80 :8000 /udp yes
$ cubic ports
No port forwarding rules are configured.
Add one with cubic modify <instance> --port <host_port>:<guest_port>
Usage: cubic ports [OPTIONS]
Options:
-v, --verbose
Increase logging output
-q, --quiet
Reduce logging output
-h, --help
Print help (see a summary with '-h')