{"author_url":"https://blog.hatena.ne.jp/noqisofon/","provider_name":"Hatena Blog","url":"https://noqisofon.hatenablog.com/entry/20100714/1279056783","categories":["Ruby","Git"],"height":"190","width":"100%","type":"rich","provider_url":"https://hatena.blog","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnoqisofon.hatenablog.com%2Fentry%2F20100714%2F1279056783\" title=\" \u524d\u306b\u66f8\u3044\u305f\u30a2\u30fc\u30ab\u30a4\u30f4\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u3092 optparse \u4f7f\u3063\u3066\u66f8\u304d\u76f4\u3057\u3066\u307f\u305f - \u60f3\u50cf\u529b\u306e\u6b20\u5982\u306f\u6df1\u523b\u306a\u6b20\u70b9\u306e\u4e00\u3064\u3067\u3042\u308b\u3002\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://noqisofon.hatenablog.com/","published":"2010-07-14 06:33:03","author_name":"noqisofon","description":"OptionParser \u3092\u4f5c\u6210\u3057\u3066\u3001on \u3067\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u5f15\u6570\u3092\u8ffd\u52a0\u3059\u308b\u3088\u3046\u306a\u611f\u3058\u3002 \u304f\u308f\u3057\u304f\u306f\u3053\u3053 [doc.okkez.net]\u3067\u3002 #!/c:/bin/ruby # -*- encoding: shift_jis -*- # archive.rb require 'optparse' opt = OptionParser.new opt.version = \"0.3.1\" OPTS = {} opt.on( '--format=ARCHIVE_TYPE', [:zip, :tar], \"\u30a2\u30fc\u30ab\u30a4\u30d6\u306e\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\" ) do |archive_type| OPTS[:for\u2026","blog_title":"\u60f3\u50cf\u529b\u306e\u6b20\u5982\u306f\u6df1\u523b\u306a\u6b20\u70b9\u306e\u4e00\u3064\u3067\u3042\u308b\u3002","title":" \u524d\u306b\u66f8\u3044\u305f\u30a2\u30fc\u30ab\u30a4\u30f4\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u3092 optparse \u4f7f\u3063\u3066\u66f8\u304d\u76f4\u3057\u3066\u307f\u305f","version":"1.0"}