Skip to main content

validateCliInput

Summary

Validates and sanitizes CLI input parameters.

Signature

static validateCliInput(input: string, parameterName: string): string;

Parameters

input

Type:string The input to validate

parameterName

Type:string The name of the parameter for error messages

Returns

Type:string Validates and sanitizes CLI input parameters.