文件名称:codelines:计算一个或多个存储库中包含的代码行数
文件大小:7KB
文件格式:ZIP
更新时间:2024-05-24 04:50:17
Ruby
代码行 计算一个或多个存储库中包含的代码行数。 当前仅存在对GitHub的支持,但是可以随时为您想要的任何托管网站制作新的适配器。 安装 $ gem install codelines 例子 您可以使用运行内置可执行文件的代码行,也可以在ruby脚本中使用gem。 $ codelines --adapter github --profile RoxasShadow --repository codelines -i README.md,Rakefile require 'codelines' require 'codelines/adapters/github' # the adapter we want to use github = CodeLines . setup CodeLines :: GitHub , 'RoxasShadow' # the owner of the
【文件预览】:
codelines-master
----README.md(1KB)
----bin()
--------codelines(2KB)
----test()
--------github_spec.rb(596B)
--------codelines_spec.rb(67B)
----codelines.gemspec(793B)
----lib()
--------codelines.rb(370B)
--------codelines()
----Rakefile(395B)