shvetsgroup/comments-exporter
Composer 安装命令:
composer create-project shvetsgroup/comments-exporter
包简介
A console script that exports source code comments to csv files and vise versa. Supports most types of comments, both single and multi-line.
关键字:
README 文档
README
Comments exporter is a console script that can export code comments from multiple source files to a csv file. This file can be used to perform bulk proofreading and editing over code comments. After that, comments can be imported back with the same script.
Script supports all types of C-like comments, such as:
// This one. /* This one. */ /** * And this one. */
Installation
Requirements:
- PHP7
- Composer
Comments exporter is installed as a global Composer package. You need to have Composer installed in your system and have the composer global tools added to your PATH.
composer global require shvetsgroup/comments-exporter
Updates
composer global update shvetsgroup/comments-exporter
Usage
-
Export comments:
comments-exporter export /path/to/project /path/to/csv-file.csv -
Do something with the
csv-file.csvcontents. Do not add new rows, just edit thecommentcolumn. -
Import comments back:
comments-exporter import /path/to/csv-file.csv /path/to/project
Type comments-exporter --help to read about full list of supported parameters.
统计信息
- 总下载量: 11
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-04-26