(main_parser: ArgumentParser)
| 221 | |
| 222 | @staticmethod |
| 223 | def register_subcommand(main_parser: ArgumentParser): |
| 224 | parser = main_parser.add_parser( |
| 225 | "augment", |
| 226 | help="augment text data", |
| 227 | formatter_class=ArgumentDefaultsHelpFormatter, |
| 228 | ) |
| 229 | parser = textattack.AugmenterArgs._add_parser_args(parser) |
| 230 | parser.set_defaults(func=AugmentCommand()) |
nothing calls this directly
no test coverage detected