Stellar has great API, command line shells have Turing complete power, they make a lovely couple.
BB-8 (https://github.com/tolitius/bb8) adds a command line / terminal capabilities to the Stellar family of tools. This is useful for exploration as well as the real world interaction with Stellar networks.
brew install bb8
While working on releasing an educational token internally I thought it would be great to have an ability to interact with Stellar through the terminal via command line. So I spent the last couple of weeks working on such a command line interface to Stellar API.
While other ways to interact with Stellar are certainly good and useful, command line is a bit simpler and more interactive:
$ bb stream --transactions GADGVH6PHMF2UGVHO446SHQR2WUJEELRBSDPRQBP7K63WJBKMV5MFX2F |
grep --line-buffered fee_paid |
awk -F" " '{rollup+=$2; print "total fees paid: "rollup}'
total fees paid: 100
total fees paid: 300
total fees paid: 500
total fees paid: 700
total fees paid: 900
total fees paid: 1000
total fees paid: 1100
Let me know what you guys think.