(parser, excluded=None, **prepr_kwargs)
| 72 | # the commands |
| 73 | |
| 74 | def _cli_preprocess(parser, excluded=None, **prepr_kwargs): |
| 75 | parser.add_argument('--pure', action='store_true') |
| 76 | parser.add_argument('--no-pure', dest='pure', action='store_const', const=False) |
| 77 | process_kinds = add_kind_filtering_cli(parser) |
| 78 | process_common = add_common_cli(parser, **prepr_kwargs) |
| 79 | parser.add_argument('--raw', action='store_true') |
| 80 | process_files = add_files_cli(parser, excluded=excluded) |
| 81 | |
| 82 | return [ |
| 83 | process_kinds, |
| 84 | process_common, |
| 85 | process_files, |
| 86 | ] |
| 87 | |
| 88 | |
| 89 | def cmd_preprocess(filenames, *, |
nothing calls this directly
no test coverage detected
searching dependent graphs…