Skip to main content

Function: default()

default(args): Argv<object>

Builds a yargs instance, adding known commands and enabling features as required.

Parameters

args: string | string[]

args array or raw string, passed to yargs(args) when building the yargs instance.

Returns

Argv<object>

Instance of yargs, ready to be run with .parse()

Defined in

src/args.ts:15