Parse a --port CLI argument at a specific index.
--port
CLI argument vector.
Argument index to inspect.
Parsed port and consumed index, or null when the current argument is not a port flag.
null
PortUsageError when --port is missing a value or has an invalid one.
Parse a
--portCLI argument at a specific index.