Example of how to add some specific arguments to the transform.
53 parser.defineArgGroup(
'Echo_trf',
'Echo_trf specific options')
54 parser.add_argument(
'--testInt', group=
'Echo_trf', type=trfArgClasses.argFactory(trfArgClasses.argInt), help=
'An integer')
55 parser.add_argument(
'--testFloat', group=
'Echo_trf', type=trfArgClasses.argFactory(trfArgClasses.argFloat), help=
'A float')
56 parser.add_argument(
'--testList', group=
'Echo_trf',
57 type=trfArgClasses.argFactory(trfArgClasses.argList), help=
'A string list', nargs=
'+')
58 parser.add_argument(
'--testIntList', group=
'Echo_trf', nargs=
'+',
59 type=trfArgClasses.argFactory(trfArgClasses.argIntList), help=
'A int list')
60 parser.add_argument(
'--testFile', group=
'Echo_trf', nargs=
'+',
61 type=trfArgClasses.argFactory(trfArgClasses.argFile, io=
'input'), help=
'Test file(s)')
62 parser.add_argument(
'--testSubstepList', group=
'Echo_trf', nargs=
'+',
63 type=trfArgClasses.argFactory(trfArgClasses.argSubstepList), help=
'A substep list')
64 parser.add_argument(
'--testSubstepInt', group=
'Echo_trf', nargs=
'+',
65 type=trfArgClasses.argFactory(trfArgClasses.argSubstepInt), help=
'A substep int')
66 parser.add_argument(
'--testSubstepBool', group=
'Echo_trf', nargs=
'+',
67 type=trfArgClasses.argFactory(trfArgClasses.argSubstepBool), help=
'A substep bool')