温馨提示:本站仅提供公开网络链接索引服务,不存储、不篡改任何第三方内容,所有内容版权归原作者所有
AI智能索引来源:http://www.bun.com/reference/node/util/ParseArgsOptionDescriptor
点击访问原文链接

Node util.ParseArgsOptionDescriptor TypeScript interface | API Reference | Bun

Node util.ParseArgsOptionDescriptor TypeScript interface | API Reference | BunBuildDocsReferenceGuidesBlogDiscord/node:util/ParseArgsOptionDescriptorPdefaultPmultiplePshortPtype

Search the reference...

/

BuildDocsReferenceGuidesBlogDiscord/node:util/ParseArgsOptionDescriptorPdefaultPmultiplePshortPtype

interface

util.ParseArgsOptionDescriptorinterface ParseArgsOptionDescriptordefault?: string | boolean | string[] | boolean[]

The value to assign to the option if it does not appear in the arguments to be parsed. The value must match the type specified by the type property. If multiple is true, it must be an array. No default value is applied when the option does appear in the arguments to be parsed, even if the provided value is falsy.

multiple?: boolean

Whether this option can be provided multiple times. If true, all values will be collected in an array. If false, values for the option are last-wins.

short?: string

A single character alias for the option.

type: ParseArgsOptionsType

Type of argument.

Resources

ReferenceDocsGuidesDiscordMerch StoreGitHubBlog 

Toolkit

RuntimePackage managerTest runnerBundlerPackage runner

Project

Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicense

Baked with ❤️ in San Francisco

We're hiring →

Node util.ParseArgsOptionDescriptor TypeScript interface | API Reference | Bun,AI智能索引,全网链接索引,智能导航,网页索引

    API documentation for interface node:util.ParseArgsOptionDescriptor | Bun