Gumba

Gumba is the tool which gives you ability to use coffeescript andunderscore.string goodness right inside your command line. Think of it as of modern variation of awk or sed. So if you like coffeescript and you don't like command line magic, try Gumba!

Take a look at these examples:

 echo ' test ' | gumba 'trim()'
 test
 echo ' test ' | sed -e 's/^ *//g' -e 's/ *$//g''
 test
 echo '1234567' | gumba 'toNumber().numberFormat()'
 1,234,567
 echo '1234567' | sed -e :a -e 's/\(.*[0-9]\)\([0-9]\{3\}\)/\1,\2/;ta'
 1,234,567
 echo 'bulbasaur chermander pikachu' | gumba 'titleize().words().toSentence()'
 Bulbasaur, Chermander and Pikachu
 echo 'bulbasaur chermander pikachu' | ?????
 PROFIT!!!

Go ahead checkout the docs on GitHub.

GitHub  Share

Developed by welldan97