Home > @momentum-design/common > CommandOptions

CommandOptions type

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Options interface to be provided as a generic to the abstract Command class.

Signature:

export type Options = Record<string, YargsOptions>;

Remarks

This interface reflects the shape of the Options object provided to the yargs dependency when processing CLI execution strings.