We are designing what running namelint should produce. Criteria:
--progress
option)--loglevel
option)--output
option)Progress is one of none
, dots
or bar
. If stdout is a tty, the default is bar
. Otherwise the default is dots
.
The JSON output has:
filename
if the filename is UTF-8 and has no null bytes. All non-ASCII characters will use the escaped form (\uXXXX
), so the file should be 7-bit ASCII safe.bytes
version of the filename if there are any non-Posix characters.display
version of the filename, with “unsafe” characters replaced by ?
. The definition of “unsafe” to be determined later.