エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
GitHub - leejarvis/slop: Simple Lightweight Option Parsing - ✨ new contributors welcome ✨
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
GitHub - leejarvis/slop: Simple Lightweight Option Parsing - ✨ new contributors welcome ✨
opts = Slop.parse do |o| o.string '-h', '--host', 'a hostname' o.integer '--port', 'custom port',... opts = Slop.parse do |o| o.string '-h', '--host', 'a hostname' o.integer '--port', 'custom port', default: 80 o.string '-l', '--login', required: true o.symbol '-m', '--method', default: :get o.bool '-v', '--verbose', 'enable verbose mode' o.bool '-q', '--quiet', 'suppress output (quiet mode)' o.bool '-c', '--check-ssl-certificate', 'check SSL certificate for host' o.bool '-k', '--use-keychain', '
2014/12/28 リンク