I created an image using java_image but I would like to pass arguments to my main function (i.e. String args[]). How can I do that when I use "bazel run name_of_image" command?
bazel run //your:rule -- arg1 arg2 ... argN
Everything after --
is passed to the binary.