MCPcopy Create free account
hub / github.com/HexHive/NASS / build_parser

Function build_parser

instrument/interface.py:548–574  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

546
547
548def build_parser():
549 parser = argparse.ArgumentParser(
550 description=f"Hook a service for enumeration, enumerate the interface"
551 )
552 parser.add_argument(
553 "-s",
554 "--service_name",
555 type=str,
556 required=True,
557 help="name of native service to hook",
558 )
559 parser.add_argument(
560 "--ignore_cache",
561 required=False,
562 default=False,
563 action="store_true",
564 help="don't use cached results in db",
565 )
566 parser.add_argument(
567 "-d",
568 "--device",
569 required=True,
570 type=str,
571 default=None,
572 help="specify device",
573 )
574 return parser
575
576
577if __name__ == "__main__":

Callers 1

interface.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected