()
| 539 | |
| 540 | |
| 541 | def main(): |
| 542 | parser = argparse.ArgumentParser() |
| 543 | parser.add_argument("-v", help="Increase verbosity", action="count") |
| 544 | parser.add_argument( |
| 545 | "-s", |
| 546 | "--source", |
| 547 | metavar="dir", |
| 548 | help="The directory containing the repository root", |
| 549 | type=Path, |
| 550 | default=None, |
| 551 | ) |
| 552 | parser.add_argument( |
| 553 | "-b", "--build", metavar="dir", help="Specify the build directory", type=Path |
| 554 | ) |
| 555 | parser.add_argument( |
| 556 | "--arch", |
| 557 | metavar="architecture", |
| 558 | help="Specify the target architecture", |
| 559 | type=str, |
| 560 | default=None, |
| 561 | ) |
| 562 | parser.add_argument( |
| 563 | "--doc-build", |
| 564 | metavar="dir", |
| 565 | help="Specify the docs build directory", |
| 566 | type=Path, |
| 567 | default=None, |
| 568 | ) |
| 569 | parser.add_argument( |
| 570 | "--copy", |
| 571 | metavar="directory", |
| 572 | help="The name of the directory to copy an extracted layout to", |
| 573 | type=Path, |
| 574 | default=None, |
| 575 | ) |
| 576 | parser.add_argument( |
| 577 | "--zip", |
| 578 | metavar="file", |
| 579 | help="The ZIP file to write all files to", |
| 580 | type=Path, |
| 581 | default=None, |
| 582 | ) |
| 583 | parser.add_argument( |
| 584 | "--catalog", |
| 585 | metavar="file", |
| 586 | help="The CDF file to write catalog entries to", |
| 587 | type=Path, |
| 588 | default=None, |
| 589 | ) |
| 590 | parser.add_argument( |
| 591 | "--log", |
| 592 | metavar="file", |
| 593 | help="Write all operations to the specified file", |
| 594 | type=Path, |
| 595 | default=None, |
| 596 | ) |
| 597 | parser.add_argument( |
| 598 | "-t", |
no test coverage detected
searching dependent graphs…