goliatone/lgr

Add `style` command to return given text styled

Closed this issue · 0 comments

Before JSON lines support was added this would return the text styled:

$ lgr -m bg-red -m grey -m bold "and italic and magenta"

Now the default command is to listen for stdin. We could check if we called the command with text in arg[0] or we could add a new command style:

$ lgr style -m bg-red -m grey -m bold "and italic and magenta"