Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command arguments #2

Open
SimoneAncona opened this issue Apr 11, 2023 · 1 comment
Open

Command arguments #2

SimoneAncona opened this issue Apr 11, 2023 · 1 comment

Comments

@SimoneAncona
Copy link

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

@dustmop
Copy link
Owner

dustmop commented Apr 11, 2023

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 ba6c27a 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants