Get an argument value from the argument list. For example:
--user-id 123
--user-id=123
This function will iterate over the entire argument list until it finds the argument.
if you need to test a specific index of the argument list, use getArgumentAssignmentFromIndex.
This function uses getArgumentAssignmentFromIndex under the hood.
Get an argument value from the argument list. For example:
--user-id 123 --user-id=123
This function will iterate over the entire argument list until it finds the argument. if you need to test a specific index of the argument list, use
getArgumentAssignmentFromIndex
.This function uses
getArgumentAssignmentFromIndex
under the hood.