Pass Command-line Arguments to an Executable
You need to run an executable that requires command-line arguments.
With Pants, you can pass arguments directly to the process that you're executing by using the special passthrough argument
$ ./pants run myserver:bin -- -log.level='DEBUG'
Everything after the passthrough argument (
--) will be passed directly as command-line arguments to the executable created by the