Saw @zzak & @hone's talk at #rubykaigi 2015, now playing with hone/mruby-cli. Don't mind me.
Head to releases, download the ZIP, extract it, and place it in your $PATH
.
$ emoji-cli flowers --random
Copied 🌺 !
$ emoji-cli flowers --random
Copied 🌹 !
$ emoji-cli fruit --random
Copied 🍍 !
$ emoji-cli fruit --random
Copied 🍒 !
$ emoji-cli halloween
1. 👻
2. 👹
3. 🎃
4. 🏮
Choose [1~4] 3
Copied 🎃 !
$ emoji-cli noodle -r
Copied 🍜 !
- cross platform
- fix the tests
- pagination?!
Need mruby and docker toolbox.
# edit mrblib/emoji-cli.rb
# compile
$ docker-composer run compile
# try
$ ./mruby/build/i386-apple-darwin14/bin/emoji-cli poop