Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/ts-command-line > CommandLineParameterProvider > getParameterStringMap

CommandLineParameterProvider.getParameterStringMap() method

Returns a object which maps the long name of each parameter in this.parameters to the stringified form of its value. This is useful for logging telemetry, but it is not the proper way of accessing parameters or their values.

Signature:

getParameterStringMap(): Record<string, string>;

Returns:

Record<string, string>