Parse a --host CLI argument at a specific index.
--host
CLI argument vector.
Argument index to inspect.
Parsed host and consumed index, or null when the current argument is not a host flag.
null
PortUsageError when --host is missing a value.
Parse a
--hostCLI argument at a specific index.