Slide 1

Slide 1 text

My Practical CLI Tools 21 Oct. 2017 freestyle-mokumoku #33 https://freestyle-mokumoku.connpass.com/event/68385/

Slide 2

Slide 2 text

Agenda

Slide 3

Slide 3 text

Agenda ● Introduce my practical CLI tools.

Slide 4

Slide 4 text

Introduce myself (but I'm not a CLI tool!)

Slide 5

Slide 5 text

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/

Slide 6

Slide 6 text

Back to the topic

Slide 7

Slide 7 text

Do you know CLI tool?

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

CLI tool is a kind of tool for Command Line(e.g. ls, cat).

Slide 10

Slide 10 text

Introduce my practical CLI tools

Slide 11

Slide 11 text

Introduce my practical CLI tools Important!

Slide 12

Slide 12 text

1st: Emo

Slide 13

Slide 13 text

Emo ● Emo suggests you emoji ● Installation: ○ $ go get github.com/pocke/emo ○ Requirement: go-lang ● DEMO ○ $ emo all ○ $ emo rand 10

Slide 14

Slide 14 text

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!

Slide 15

Slide 15 text

2nd: Flowterm

Slide 16

Slide 16 text

Flowterm ● String flows in a terminal. ● Installation: ○ $ gem install flowterm ○ Requirement: Ruby ● DEMO ○ $ echo 'Hello, flowterm!' | flowterm ○ $ cowsay 'Hello' | flowterm

Slide 17

Slide 17 text

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!

Slide 18

Slide 18 text

Conclusion

Slide 19

Slide 19 text

Conclusion ● Emo and Flowterm are very practical! ● And, you can create practical CLI tool easily. Thank you for listening