Tbpgr Blog

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

Ruby | CLI | Be Easy to Use | CommandLineを理解する

概要

書籍 Build Awesome Command-Line Applications in Ruby2

Be Easy to Use | CommandLineを理解する

詳細

CommandLineの構成要素を理解する

基本構成

例えば ls コマンドで rb のファイルを更新日付の降順で詳細表示したい場合

ls -ltr *.rb

のようになります。
この場合、

ls => Command
-ltr => Options
*.rb => Arguments

です。