apm icon indicating copy to clipboard operation
apm copied to clipboard

Application Parameters

Open wpsmithtwc opened this issue 8 years ago • 5 comments

How do I pass my GO binary parameters in this process manager?

wpsmithtwc avatar Oct 11 '16 12:10 wpsmithtwc

You can use --args=ARGS which will take an array of arguments that will be passed to the binary.

I will improve the README to make it easier for someone to use APM. Do you think that would help people with their doubts in the future? Or do you have any other suggestions?

MateusDantas avatar Oct 11 '16 14:10 MateusDantas

So, by array of args do you mean something like this: --args="-param 10 --paramLong five --paramLongNoVal"

wpsmithtwc avatar Oct 11 '16 15:10 wpsmithtwc

Obviously the more thorough the documentation, the examples, and use cases it has, the more likely it is to be used.

wpsmithtwc avatar Oct 11 '16 15:10 wpsmithtwc

It works by accumulating arguments. Example: --args="--param=10" --args="--paramLong five" --args=--paramLongNoVal

I will get on with it and improve the documentation by adding more examples and use cases.

Does this answer your questions?

Thanks for the feedback!

MateusDantas avatar Oct 11 '16 15:10 MateusDantas

The issue with the documentation is being tracked on #7

We can close this one so we don't have duplicates.

MateusDantas avatar Oct 26 '16 10:10 MateusDantas