Consider I have a py_binary :
py_binary(
name = "mock",
srcs = ["mock.py"],
args = [
"$(location @mockref//mockpackage)",
],
data = [
"@mockref//:mockfile",
],
deps = [
requirement("somerequirement"),
],
)
If mock.py accept a command line argument named --somearg
using argument parser how can I pass this argument through the args field in bazel file without passing the argument in bazel build
command?