1.1.4 • Published 10 years ago

feature-document-extractor v1.1.4

Weekly downloads
-
License
ISC
Repository
-
Last release
10 years ago

feature-document-extractor

Create word documents (sprint board cards, requirement documents) from Gherkin-ish feature files

Usage

$ npm install -g feature-document-extractor
feature-document-extractor \
    --included-sections 'Feature,Acceptance Criteria' \
    --output-file filename.docx \
    --type sprint-board
    --features ../your-features

Creating Additional Document Types

TypeScript

Create a JavaScript file that exports a function that implements the IDocumentGenerationFunction interface:

module.exports = function sprintBoard(
  featurePages: IFeature[],
  outputFile: string,
  featuresPerPage: number,
  baseStyles: IOfficeGenStyle = {
  font_face: 'Calibri'
}) {
  // See ./functions/sprint-board.ts for a working example
}

JavaScript

Create a JavaScript file that exports a function with the shape:

module.exports = function yourType(featurePages, outputFile, featuresPerPage, baseStyles) {
  // See ./functions/sprint-board.ts for a working example
}

Specify your function as the type using the --type ../path/to/your/type.ts flag

1.1.4

10 years ago

1.1.3

10 years ago

1.1.2

10 years ago

1.1.1

10 years ago

1.1.0

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago