Parameters
- schema: S
- overwrites: O = ...
Returns {
alias: undefined | string | readonly string[];
coerce: undefined | ((arg: any) => any);
config: undefined | boolean;
configParser: undefined | ((configPath: string) => object);
conflicts:
| undefined
| string
| readonly string[]
| {
[key: string]: string | readonly string[];
};
count: undefined | boolean;
default: undefined | Static<S>;
defaultDescription: undefined | string;
demandOption: string | boolean;
deprecated: undefined | string | boolean;
describe: undefined | string;
global: undefined | boolean;
group: undefined | string;
hidden: undefined | boolean;
implies:
| undefined
| string
| readonly string[]
| {
[key: string]: string | readonly string[];
};
nargs: undefined | number;
normalize: undefined | boolean;
requiresArg: undefined | boolean;
skipValidation: undefined | boolean;
type: "boolean";
} & O
applicable yargs options in schema and overwrites
Transform TypeBox TBoolean schema and options appended in schema to yargs options.