Skip to content

fredrik-hjarner/file-concatenator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

File Concatinator

A util program to help me print a code repo.

Concatenates all code files in a repo (or any folder really) into one text file. It adds some form feed to make sure max one file per paper.

This program does not print it for you, it creates a text file. You have to print it yourself, so you don't have to be afraid to be completely replaced by a machine, yet...

Assumptions

  • 100 characters fit per line.
  • 75 lines fit on one page.

If printing with WordPad

Courier New 8px

margin-left: 30mm

margin-right: 5mm

margin-top: 15mm

margin-bottom: 5mm

Printing 2 sheets per paper side is nice, too.

Install & use

Just do go install

then you'll be able to write file-concatinator in terminal while in a directory structure that contains code!

So why don't you go right now to the computer root folder and print ALL code on your entire computer?!

Testing

Run all tests

go test ./... -cover -count 1 -test.v

About

Utils to help print a whole code repo on paper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages