johncoder / appman

A small utility for building a tar command from a manifest of files.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

appman

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)"

About

A small utility for building a tar command from a manifest of files.


Languages

Language:Go 100.0%