I was going to suggest the same:
parser.add_argument("--additional-trigger", action="append", ...)
then args.additional_trigger will be a list of additional triggers, specified by passing --additional-trigger one or more times.
However @Brian if you think this is not going to be useful in practice, I'm +1 for the proposed implementation.
« Back to merge proposal
I was going to suggest the same:
parser. add_argument( "--additional- trigger" , action="append", ...)
then args.additional _trigger will be a list of additional triggers, specified by passing --additional- trigger one or more times.
However @Brian if you think this is not going to be useful in practice, I'm +1 for the proposed implementation.