Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥

My Practical CLI Tools

pocke
October 21, 2017

My Practical CLI Tools

pocke

October 21, 2017
Tweet

More Decks by pocke

Other Decks in Programming

Transcript

  1. Introduce myself • Pocke • Actcat, inc. / SideCI •

    RuboCop's core developer • I'll talk at: ◦ 10/24: Supporterz 勉強会 https://supporterzcolab.com/event/190/ ◦ 11/4: VimConf http://vimconf.vim-jp.org/2017/
  2. Emo • Emo suggests you emoji • Installation: ◦ $

    go get github.com/pocke/emo ◦ Requirement: go-lang • DEMO ◦ $ emo all ◦ $ emo rand 10
  3. Why emo is practical??? • Fun for Terminals. ◦ Fun

    git branch names. ◦ Fun git commit message. ◦ Fun your prompt of terminal. ▪ e.g.) $ PROMPT_COMMAND="emo rand 3" ◦ Fun… • Very practical!
  4. Flowterm • String flows in a terminal. • Installation: ◦

    $ gem install flowterm ◦ Requirement: Ruby • DEMO ◦ $ echo 'Hello, flowterm!' | flowterm ◦ $ cowsay 'Hello' | flowterm
  5. Why flowterm is practical??? • In zsh, you can configure

    `command_not_found_handler` ◦ command_not_found_handler() { banner "$*" | flowterm echo "command not found: $*" return 127 } • Very practical!
  6. Conclusion • Emo and Flowterm are very practical! • And,

    you can create practical CLI tool easily. Thank you for listening