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