def METHOD_NAME(cls, parser):
    # Required:
    parser.add_argument('--device', required=True,
                        help='device part number')
    # Optional:
    parser.add_argument('--commander', default=DEFAULT_APP,
                        help='path to Simplicity Commander executable')
    parser.add_argument('--speed', default=None,
                        help='JTAG/SWD speed to use')