Skip to content

This program brings together files that links to each other into one file.

License

Notifications You must be signed in to change notification settings

gresendesa/filemash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Filemesh

This program brings together files that links to each other into one file.

How it works

A file (a) references another (b) through the expression:

	{% "[file_path_b]" %}

Once this expression is put inside file (a), the content of file (b) will replace the expression that refers it.

The file paths used in this expression must be related to the file itself.

How to call the program

The syntax of the program calling is:

	python3 filemash.py main_file_path.foo

The program will output the result. So it's possible to pipe it:

	python3 filemash.py main_file_path.foo | cat

Test the embedded sample

Just run:

	python3 filemash.py sample/animals_and_fruits.txt > output.txt

About

This program brings together files that links to each other into one file.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages