Tbpgr Blog

Employee Experience Engineer tbpgr(てぃーびー) のブログ

Ruby | CLI | Delight Casual Users | Naming Commands in a Command Suit

概要

書籍 Build Awesome Command-Line Applications in Ruby2

Delight Casual Users

詳細

Command suit において全てのコマンドは簡潔で明確な名前を持つこと。
もし、意味をなすことができるならコマンドは短いニーモニックを持つのも良い。
良い例は ls コマンドです。これは list のニーモニックです。

これによって、慣れたユーザーはニーモニックを利用することによって
短いタイプでコマンドを利用することができます。