_ ( \ \ \ /─── \ \ ───\ /── │ / / │ ──\ / │ / / ________ │ \ / ___/ (_/ |________| \__ \ │ │ │ │ │ /─── ───\ │ │ │ ∙ ∙ │ │ │ │ /────────\ │ │ │ │ /── ──\ │ │ │ │ /─ ─\ │ │ \ \── ──/ / \ ─ ─ / \───\ /───/ / │─\ /─│ \ / / /\ / \ \ \ │/ │ /\──────────/\ │ \│ │ │/ │/ │ \│ │ │ │ │ │
... for making prettier/better command line applications for the Crystal Programming language.
I made it from scratch and is still in development. It is somewhat inspired of the rich library from python.
WHY?
Because I love CLI apps and I really liked Crystal but there was no shard for prettier
CLI's when I began to learn it, and I would love CLI's to be made with such an easy and powerfull
language.
Dependencies?
Crab does not have any other Crystal dependencies, but it does make use of stty command to get the terminal size.
Most Linux distros have it installed by default, try to make sure you have it too.
Works on Windows?
As Crystal Lang is not fully supported of Windows I have not tested so I have truly no idea and I do not recommend it.
IF Crystal is fully ported to Windows, then I will try to make it work.
How to install?
Add to your shard.yml file:
dependencies:
crab:
github: jaktondev/crab
Then run: shards install