script_get_arg()
def script_get_arg(offset)Get a command line argument
Args
offset- The offset of the argument to get
Returns
The argument at the given offset
script_get_args()
def script_get_args()Get all command line arguments
named arguments are of the format --name=value.
Returns
dict: with members [ordered] and {named}
script_print()
def script_print(message)Print a message
This is for debugging purposes only. It is not recommended to use this function for normal output.
Args
message- The message to print
script_set_exit_code()
def script_set_exit_code(exit_code)Set the exit code
This does not exit the script. It just sets the exit code.
Args
exit_code- The exit code