bunny
bunny

Reputation: 115

Producing colored output on cqlsh

I am using Cassandra 3.9 version and I want to produce colored output on cqlsh. What is the command for that?

Upvotes: 1

Views: 834

Answers (1)

Aaron
Aaron

Reputation: 57843

There are a couple of ways. You can create a ~/.cassandra/cqlshrc file with the following section and option:

[ui]
color=on

You can also start cqlsh using the -C or --color flags on the command line.

$ cqlsh 127.0.0.1 -u user -p password -C

Or...

$ cqlsh 127.0.0.1 -u user -p password --color

Check the cqlsh and cqlshrc sections of the documentation for more info.

Upvotes: 2

Related Questions