文件名称:man_parser:Ruby
文件大小:6KB
文件格式:ZIP
更新时间:2024-07-12 17:12:42
Ruby
解析人源 安装 sudo gem install man_parser 用法 ManParser.parse('ls') # all the sections :sections=>{ "NAME"=>"printf \\- format and print data", "SYNOPSIS"=>".B printf\n\\f...", "AUTHOR"=>"Written by David MacKenzie.", ... }, # options parsed into :name, :alias, :argument, :description :options=>[ {:name=>"help", :description=>"display this help and exit"}, {:name=>"version", :description=>"
【文件预览】:
man_parser-master
----man_parser.gemspec(1KB)
----Rakefile(647B)
----README.markdown(1KB)
----Gemfile(120B)
----VERSION(6B)
----spec()
--------call(99B)
--------man_parser_spec.rb(4KB)
--------spec_helper.rb(58B)
----lib()
--------man_parser.rb(4KB)