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!
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