Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/ts-command-line > CommandLineStringParameter > value

CommandLineStringParameter.value property

Returns the argument value for a string parameter that was parsed from the command line.


get value(): string | undefined;


The return value will be undefined if the command-line has not been parsed yet, or if the parameter was omitted and has no default value.