CLI tool to add GL quotes to TSV files in a directory. Processes TSV files by adding Gateway Language quotes and occurrence columns, then packages the modified files into a zip archive.
npm install --global add-gl-quotes-to-tsv-files
add-gl-quotes-to-tsv-files [options]
--help, -h Show help
--version, -v Show version number
--workingdir, -w Directory where the TSV files are located (default: current directory)
--owner Repository owner
--repo Repository name
--ref Git reference (branch/tag)
--dcs DCS URL
--output, -o Output zip file's path
--quiet, -q Suppress all output (default: false)
- Command line arguments
- GitHub Actions environment variables
- Git repository information
If no output filename is specified for the zip file, it will be generated as:
<repo>_<ref>_with_gl_quotes.zip
in the working directory
The generated zip file will contain:
- Modified TSV files with added GL Quote and GL Occurrence columns
- README.md (if present)
- LICENSE.md (if present)
- manifest.yaml
- Clone this repository
git clone https://github.com/your-username/node-cli-add-gl-quotes-to-tsv-files.git
cd node-cli-add-gl-quotes-to-tsv-files
- Install dependencies
npm install
- Link the package
npm link
Now you can run add-gl-quotes-to-tsv-files
from anywhere to test your changes.
MIT