A nifty app for archiving files based on a yml manifest.
Usage of ./appman:
-archive string
The path for the archive (default "./app.tar")
-manifest string
The appmain.yml file (default "./appman.yml")
-taropts string
The options to pass to tar (default "cf")
Here is an example of an appman.yml file:
name: Example Application
files:
- ./foo.txt
- ./lib/**/*.foo
Based on an appman.yml file like the one above, running appman will produce the following output:
tar cf ./app.tar ./foo.txt ./lib/**/*.foo
That means you can actually eval the output of this tool:
eval "$(./appman)"