bin/cmd.js
function detectUserInput () {
	let validatePath = program.input;

	if (typeof validatePath !== 'string') {
		validatePath = process.cwd();
	} else {
		if (!(/^(http(s)?:)?\/\//i.test(validatePath))) {
			if (/^\//.test(validatePath)) {
				validatePath = path.resolve(validatePath);
			}
		}
	}
	return validatePath;
}
function detectUserInput () {
	let validatePath = program.input;

	if (typeof validatePath !== 'string') {
		validatePath = process.cwd();
	} else {
		if (!(/^(http(s)?:)?\/\//i.test(validatePath))) {
			if (/^\//.test(validatePath)) {
				validatePath = path.resolve(validatePath);
			}
		}
	}
	return validatePath;
}
function detectUserInput ( ) { let validatePath = program . input ; if ( typeof validatePath !== 'string' ) { validatePath = process . cwd ( ) ; } else { if ( ! ( / ^(http(s)?:)?\/\/ / i . test ( validatePath ) ) ) { if ( / ^\/ / . test ( validatePath ) ) { validatePath = path . resolve ( validatePath ) ; } } } return validatePath ; }
Detect  input path where testing files lies
@returns {*}
Detect input path where testing files lies