Skip to content

Harry-027/pdf-printer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pdf-printer


A CLI that generates PDFs in bulk very quickly. Thanks to Golang concurrency ❤️ . Currently it supports following use cases:-

  • Employee Payslip
  • Customer Invoice
  • Student Report Card

Installation & setup :-


  • Clone the repository.
  • Run the command make download.
  • Run the command make install.
  • CLI setup is ready. Run the command pdf-printer --help to explore various operations.
  • Sample generated PDFs.

Feed the data


  • Feed the csv data as per the feature type - student, employee, customer.
  • Data should be fed in pre-defined csv format.Checkout CSV samples for required fields & format.
  • Command to feed data pdf-printer feed --type=customer|student|employee --path=path_to_csv_file.
  • Default value for flag 'type' -> 'student' and 'path' -> './assets/csv/students.csv'.

Verify the data


  • Data has been fed correctly or not can be verified by visualising it over command line interface in table format.
  • Run the command pdf-printer verify --type=customer|employee|student to verify the data as per the given flag type.
  • Default value for flag 'type' -> 'student'.

pdf-printer verify

Generate the Pdfs in bulk


  • Run the command pdf-printer gen --type=customer|employee|student to generate Pdfs.
  • Default value for flag 'type' -> 'student'.

pdf-printer gen

About

A CLI that generates Payslip, Invoice & Report Card pdfs in bulk quickly.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published