https://github.com/farischt/gencert
Certificates generator's CLI
https://github.com/farischt/gencert
Last synced: 7 months ago
JSON representation
Certificates generator's CLI
- Host: GitHub
- URL: https://github.com/farischt/gencert
- Owner: farischt
- Created: 2022-12-11T22:17:30.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-11T22:19:46.000Z (over 3 years ago)
- Last Synced: 2024-12-28T04:15:13.912Z (over 1 year ago)
- Language: Go
- Size: 374 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gencert
This project was made for educationnal purposes by @Farischt
Simple certificates generation using a [gofpdf](https://github.com/jung-kurt/gofpdf) module to create PDFs.
## Using the CLI
First build the project:
`go build -o build`
Once you've built the project you can start using the CLI as following:
`./build -type your_extension[pdf || html] -filename your_file_name.csv`
## Commands
Every command is prefixed by the prefix `-type`.
Here a the differents types available:
- pdf: `-type pdf`
- html: `-type html`
Every command also needs a csv file containing the students data just as [this example](./students.csv). **_Please make sure to use the exact same synthax !!!_**
`-filename students.csv`
An example of a full command:
`./build -type pdf -filename students.csv`