Skip to content

Gunmer/pdf-card-generator

Repository files navigation

pdf-card-generator

oclif Version Downloads/week License

It generates cards for scrum or kanban from a csv file and a mustache template.

As a result, it generates a json with the data extracted from the csv, an htm file and finally the resulting pdf.

Install

It is necessary to have NodeJS installed

$ npm install -g pdf-card-generator
$ cardGen COMMAND
running command...

Version

$ cardGen (-v|--version|version)
pdf-card-generator/1.0.2 darwin-x64 node-v12.7.0

Usage

$ npm install -g pdf-card-generator
$ cardGen COMMAND
running command...
$ cardGen (-v|--version|version)
pdf-card-generator/2.2.0 darwin-x64 node-v12.7.0
$ cardGen --help [COMMAND]
USAGE
  $ cardGen COMMAND
...

Commands

cardGen generate [WORKDIR]

generate a pdf file to print

USAGE
  $ cardGen generate [WORKDIR]

OPTIONS
  -h, --help  show CLI help

ALIASES
  $ cardGen g
  $ cardGen gen

See code: src/commands/generate.ts

cardGen help [COMMAND]

display help for cardGen

USAGE
  $ cardGen help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

cardGen initialize [WORKDIR]

create config file and copy resources

USAGE
  $ cardGen initialize [WORKDIR]

OPTIONS
  -h, --help  show CLI help

ALIASES
  $ cardGen i
  $ cardGen init

See code: src/commands/initialize.ts