Skip to content

UrlFlagOptions ​

Options accepted by flag.url() and arg.url().

Signatures ​

ts
interface UrlFlagOptions {}

Members ​

Properties ​

protocols ​

Allowed URL protocols, without the trailing colon (e.g. ['https']).

ts
protocols?: readonly string[];

See Also ​

Released under the MIT License.