picklesdoc
TypeScript icon, indicating that this package has built-in type declarations

1.3.1 • Public • Published

PicklesDoc

npm version

PicklesDoc is a program that converts .feature files written in Gherkin language into Excel spreadsheets, LaTeX documents or JSON data.

This program is a cross-platform NodeJS port of the popular Pickles program written in C#.

Installation

npm install --global picklesdoc

Usage

picklesdoc <command> [args]

picklesdoc xlsx <input> [out]

Convert the provided file or directory into XLSX

Positionals
  • input Input feature file or directory [required]
  • out Output file or directory
Options
  • -h --help Show help [boolean]
  • --testers Number of tester columns to generate (for QA purposes) [number] [default: 0]
Examples
picklesdoc xlsx ./features my-spreadsheet.xlsx --testers=2
picklesdoc xlsx my-feature.feature my-spreadsheet.xlsx
picklesdoc xlsx ./features ./out --testers=3

picklesdoc tex <input> [out]

Generate a LaTeX report of the feature or features. After generating the LaTeX document you will need another program to convert it to a PDF. picklesdoc development uses pdflatex for all its testing.

Positionals
  • input Input feature file or directory [required]
  • out Output file or directory. Will print to STDOUT if not specified
Options
  • -h --help Show help [boolean]
  • --title Title for the LaTeX document. [string] [default: "Features Report"]
Examples
picklesdoc tex ./features my-document.tex --title="Company Features Report"
picklesdoc tex my-feature.feature my-document.tex
picklesdoc tex ./features > output.tex

picklesdoc json <input> [out]

Convert the provided file or directory into JSON

Positionals
  • input Input feature file or directory [required]
  • out Output file or directory. Will print to STDOUT if not specified
Options
  • -h --help Show help [boolean]
Examples
picklesdoc json ./features my-output-file.json
picklesdoc json my-feature.feature > output.json
picklesdoc json my-feature.feature | jq

Readme

Keywords

none

Package Sidebar

Install

npm i picklesdoc

Weekly Downloads

381

Version

1.3.1

License

MIT

Unpacked Size

91.3 kB

Total Files

23

Last publish

Collaborators

  • andiluo
  • 00salmon
  • locrian
  • jayden-chan
  • zachharrison
  • logvol
  • lisq
  • johanventer
  • dereksiemens
  • squatch-noahwc
  • ianhitchcock