-
Notifications
You must be signed in to change notification settings - Fork 4
Closed
Description
Cat should enable displaying the content of a file with syntax highlighting/coloring provided that "--highlight" or "-H" for instance is armed and the file is supported by ntf.
The highlighter should be detected by file content type and/or file extension.
The highlighter should be customizable like this
nuts cat --highlight=java file.txtAt least, now the following formats are supported:
- plain text
- json
- xml
- yaml
- java
- ntf
This feature is important, at least to help testing NTF format.