cli: allow file name arg without a TTY
cli: allow file name arg without a TTY

When invoked from a parent shell script the file name was previously
ignored because stdin was closed or otherwise not detected as a TTY.

chalk/strip-ansi,chalk/strip-ansi,sindresorhus/strip-ansi