My new gem "code2pdf"
I've created a gem called code2pdf, which is a simple and open-source tool to convert your codebase to a PDF file. It might be especially useful in case you need to register you software.
In order to install it, just run:
bash
gem install code2pdf
Then, open a terminal and run:
bash
code2pdf [project path] [blacklist file]
The blacklist file is optional and must be a YML file, similar to the following:
yaml
:directories:
- .git
- log
- public/system
- spec
- tmp
- vendor
:files:
- .DS_Store
- .gitignore
- database.yml
- favicon.ico
You can find more information (including a PDF output example in the repository:
github.com/lucascaton/code2pdf
Please, let me know in the comments if you like it :)
Post atualizado em 10/2/2017, 10:00:00 AM