Skip to content

cat file with syntax coloring #85

@thevpc

Description

@thevpc

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.txt

At 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.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions