Is there a way to pass command line arguments to a script using django runscript
?
The script I am trying to run uses argparse
to accept command line arguments.
Command line execution of the script:
./consumer --arg1 arg1 --arg2 arg2
Both arg1
and arg2
are required options.
We tried using script-args
but unable to figure out how to use it in this context.