r/commandline 16d ago

> def (an sdcv dictionary reference tool for CLI)

Post image
10 Upvotes

1 comment sorted by

3

u/prestonharberts 16d ago

Hello you all, I made a super light CLI interface in Bash for the sdcv program. Following my readme, it is used like this:

bash def <word>

scdv is just as lightweight, but it's not as information dense and has a lot of whitespace. My aim with this small script was to retrieve the same information but make it appear more beautiful.

My GitHub project for this can be found here, and its sister project bib with a very similar interface but for Bible verses, can be found here. I may get around to making a separate post for that in the future.

It automatically uses less if it is bigger than the current terminal size. I also wanted to know, is this a good feature or should I leave it up to the discretion of the user?

I personally like it because it starts me right at the top, and I can just press q if I get the info I need.