Open SimoneAncona opened 1 year ago
There is not a way to do that currently. For a work-around, your script can be called like this "node my_code.js -- my_custom_args"; everything after the --
will be ignored by the raster.js command-line parser.
I realize this work-around may not be sufficient for your use case. I just pushed a new commit https://github.com/dustmop/rasterjs/commit/ba6c27aa7b39bcbe73d171dea047e4847ddd9a91 that adds better mechanisms for ignoring command-line arguments. This will be available in v0.8.0 once it is released, but I would like to get a few more features finished up before doing another release.
Is it possible to remove raster command arguments? I am creating a script with custom command line arguments the problem is that it interferes with raster.js commands arguments parser. Thanks in advance