The cmdargs commands in Python™ allow you to confirm whether an argument exists, get the value of a command line argument, or view the entire argument string.
See Python commands for other commands you can use with GainSeeker.
Syntax |
Example |
Description/Remarks |
New or changed in GainSeeker version |
cmdargs.getargstring() |
When
the command line is then the command returns |
Returns the full argument string. Any dashes in front of arguments are removed. |
|
cmdargs.getargvalue(argument) |
When
the command line is then the command returns |
Returns the value of a command line argument as a string. If no such argument value exists, it returns None. |
|
When
the command line is then the command returns |
Returns True when the specified command line argument exists. Otherwise it returns False. |
|