(args: Optional[List[str]]=None, stdin: Optional[IO]=None, pwd: Optional[str]=None)
| 16 | |
| 17 | @docstring(setup.__doc__) |
| 18 | def main(args: Optional[List[str]]=None, stdin: Optional[IO]=None, pwd: Optional[str]=None) -> None: |
| 19 | parser = argparse.ArgumentParser( |
| 20 | prog=__command__, |
| 21 | description=setup.__doc__, |
| 22 | add_help=True, |
| 23 | formatter_class=SmartFormatter, |
| 24 | ) |
| 25 | # parser.add_argument( |
| 26 | # '--force', # '-f', |
| 27 | # action='store_true', |
| 28 | # help='Overwrite any existing packages that conflict with the ones ArchiveBox is trying to install', |
| 29 | # ) |
| 30 | command = parser.parse_args(args or ()) # noqa |
| 31 | reject_stdin(__command__, stdin) |
| 32 | |
| 33 | setup( |
| 34 | # force=command.force, |
| 35 | out_dir=pwd or OUTPUT_DIR, |
| 36 | ) |
| 37 | |
| 38 | |
| 39 | if __name__ == '__main__': |
no test coverage detected