Package Data | |
---|---|
Maintainer Username: | neochief |
Package Create Date: | 2017-04-24 |
Package Last Update: | 2017-04-26 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2025-01-29 15:08:28 |
Package Statistics | |
---|---|
Total Downloads: | 10 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 2 |
Total Forks: | 0 |
Total Open Issues: | 0 |
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.
*/
Requirements:
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
Export comments:
comments-exporter export /path/to/project /path/to/csv-file.csv
Do something with the csv-file.csv
contents. Do not add new rows, just edit the comment
column.
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.