1.0.6 • Published 4 months ago

add-gl-quotes-to-tsv-files v1.0.6

Weekly downloads
-
License
MIT
Repository
-
Last release
4 months ago

node-cli-add-gl-quotes-to-tsv-files

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.

Install

npm install --global add-gl-quotes-to-tsv-files

Usage

add-gl-quotes-to-tsv-files [options]

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 (default: From git remote URL or unfoldingWord)
--repo             Repository name (default: From git remote URL current directory's name)
--ref              Git reference (git branch or tag or master)
--bible            Bible link for GL Quotes (default: 1st aligned Bible in manfiest.yaml file relations or {owner}/en_ult/master)
--dcs              DCS URL (defaut: https://git.door43.org)
--output, -o       Output zip file's path (default: ./{repo}_{ref}_with_gl_quotes.zip)
--quiet, -q        Suppress all output (default: false)

Parameter Resolution Priority

  1. Command line arguments
  2. GitHub Actions environment variables
  3. Git repository information

Output

Zip Filename

If no output filename is specified for the zip file, it will be generated as:

./<repo>_<ref>_with_gl_quotes.zip

Zip File's Contents

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

Development

  1. 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
  1. Install dependencies
npm install
  1. Link the package
npm link

Now you can run add-gl-quotes-to-tsv-files from anywhere to test your changes.

License

MIT

1.0.6

4 months ago

1.0.5

4 months ago

1.0.4

4 months ago

1.0.3

5 months ago

1.0.2

5 months ago

1.0.1

5 months ago

1.0.0

5 months ago