console-highlight icon indicating copy to clipboard operation
console-highlight copied to clipboard

Provide a command-line tool

Open davazp opened this issue 9 years ago • 2 comments

It would be a really nice tool to use from the command line. The usage could be:

highlight [-l language] [-t theme] file

if file is omitted, it could take input from stdin. So, for example, this would be possible:

cat file.js | highlight -l 'javascript' -t 'solarized_dark'

davazp avatar Jul 09 '15 14:07 davazp

Nice idea! I think I sorta broke this a while ago :cry: but maybe I'll fix whatever stupid thing I did and introduce a CLI soon.

dtao avatar Jul 09 '15 15:07 dtao

+1

antonmedv avatar Jun 11 '16 12:06 antonmedv