when not false cursor is reset.
Concat To : Helper method to ensure array in object property then concat values.
the object collection containing keys.
the key to concat values to.
the array of values to concat.
Env Paths : Gets paths for the environment including executed path.
Is Dot Notation : Tests if value is dot notated string.
the value to be inspected.
Is Executable : Tests if path is executable.
the path to the executable.
Is Flag : Checks if value is a flag (ex: -s or --save).
the value to inspect.
Is Spread : Tests if command token is spread type.
the value to test.
Levenshtein : Computes the edit distance between two strings.
Based on gist by Andrei Mackenzie
the source string.
the string to be compared.
Merge Args : Merges arguments into single array of values.
the single value or array of values.
rest param of args.
Remove Duplicates : Removes any duplicate elements in an array.
the array of elements to be inspected.
Set Blocking : Sets handle blocking for stdout, stderr.
TypeScript version of:
toggles blocking.
Set Enumerable : Simple helper for defining enumerable prop states.
the context to define properties on.
the properties to set enumerable for.
the state true or false.
Split To List : Takes a list 'small, medium, large' and converts it to expression like /^(small|medium|large)$/i
the value to convert.
Strip Param : Strips -f, --flag [param] resulting in f, flag or param.
the value to be stripped.
To Option Tokens : Formats option string to support Pargv syntax.
the string to insepct.
Generated using TypeDoc
Clear Screen : Clears the screen and resets cursor. PLACEHOLDER future use.