@backblaze-labs/b2-mcp
    Preparing search index...

    Function readHostArg

    • Parse a --host CLI argument at a specific index.

      Parameters

      • argv: string[]

        CLI argument vector.

      • index: number

        Argument index to inspect.

      Returns HostArgResult | null

      Parsed host and consumed index, or null when the current argument is not a host flag.

      PortUsageError when --host is missing a value.