If you're packing up entire directories based on flat lists of files (e.g. find . output) having to figure out when and whether to call archiver.directory is rather painful. It would be much nicer if append calls like:
archive.append('string cheese!', { name: 'some/nested/dir/file.txt' });
automatically did the right thing. It is unclear from the README.md whether it does that right now, but if it doesn't, could that be added?
If you're packing up entire directories based on flat lists of files (e.g.
find .output) having to figure out when and whether to callarchiver.directoryis rather painful. It would be much nicer if append calls like:automatically did the right thing. It is unclear from the README.md whether it does that right now, but if it doesn't, could that be added?