1 #!/usr/bin/env python3 2 3 """`sourcedr scan` command.""" 4 5 6 def init_argparse(parsers): 7 """Initialize argument parser for `sourcedr scan`.""" 8 parsers.add_parser('scan', help='Scan all pattern occurrences') 9 return run 10 11 12 def run(_): 13 """Main function for `sourcedr scan`.""" 14 print('error: Need human review. Run: `sourcedr review`') 15