はてブログ

はてなブックマーク新着エントリーの過去ログサイトです。



タグ optparse

新着順 人気順 5 users 10 users 50 users 100 users 500 users 1000 users
 
(1 - 3 / 3件)
 

Python: コマンドラインパーサの Click が便利すぎた - CUBE SUGAR CONTAINER

2015/10/15 このエントリーをはてなブックマークに追加 128 users Instapaper Pocket Tweet Facebook Share Evernote Clip 蛇足 click Python 標準ライブラリ 廃止予定

2015-10-14 Python: コマンドラインパーサの Click が便利すぎた Python Python のコマンドラインパーサといえば、標準ライブラリに組み込まれている argparse が基本。 蛇足になるけど、バージョン 2.7 以前で使われていた optparse は将来的に廃止予定なので新たに使うことは避けた方が良い。 そして、今回紹介する Python のサードパーティ製コマ... 続きを読む

µ-optparse

2011/04/19 このエントリーをはてなブックマークに追加 6 users Instapaper Pocket Tweet Facebook Share Evernote Clip

Why another command line parser? There are lots of command line parser out there, for example trollop is a great alternative. However, it's 800 lines long. In addition, trollop sucks at validating the... 続きを読む

Route 477 - Ruby用のコマンドラインパーサSlop

2011/04/10 このエントリーをはてなブックマークに追加 24 users Instapaper Pocket Tweet Facebook Share Evernote Clip README ARGV github.com Ruby ところ

■ [ruby] Ruby用のコマンドラインパーサSlop https://github.com/injekt/slop 標準添付のoptparseに似てるけど、オプション項目の置き場所も兼ねてるところが便利そう。 READMEより: # parse assumes ARGV, otherwise you can pass it your own Array opts = Slop.parse d... 続きを読む

 
(1 - 3 / 3件)