Reputation: 115
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
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