How do I add a custom command-line argument to Python Locust 0.7.2, then retrieve its value?
I want to specify a number:
locust --my-argument 6
Then in my script, I want to retrieve the value, with something like:
my_argument = ??.options.my_argument
I have found this in locust/main.py
def main():
parser, options, arguments = parse_options()
But it appears that the parse_options() function doesn't look externally for any additional arguments.
Is this possible?
Thanks.