pcjs.v1
pcjs.v1 copied to clipboard
FileDump needs a "map" option (both API and command-line)
Consider adding a FileDump "map" option that allows the user to supply a MAP filename (via a "map" API parameter or a "--map" command-line option), which in turn triggers a call to loadMap(). Note that loadMap() will need to be a bit more general and use a worker function that calls either net.getFile() or fs.readFile(), similar to what FileDump's loadFile() function already does.