Chris McDonald | e8735d2 | 2020-01-30 14:07:27 -0700 | [diff] [blame] | 1 | #!/usr/bin/env python3 |
| 2 | # Copyright 2020 The Chromium OS Authors. All rights reserved. |
| 3 | # Use of this source code is governed by a BSD-style license that can be |
| 4 | # found in the LICENSE file. |
| 5 | |
| 6 | """Stub implementation of the checker interface.""" |
| 7 | |
| 8 | import argparse |
| 9 | |
| 10 | |
| 11 | def argument_parser(): |
| 12 | parser = argparse.ArgumentParser() |
| 13 | parser.add_argument('--program', metavar='PATH') |
| 14 | parser.add_argument('--project', metavar='PATH') |
| 15 | return parser |
| 16 | |
| 17 | |
| 18 | def main(): |
| 19 | parser = argument_parser() |
| 20 | args = parser.parse_args() |
| 21 | print('Called with project: {}'.format(args.project)) |
| 22 | print('Called with program: {}'.format(args.program)) |
| 23 | |
| 24 | |
| 25 | if __name__ == '__main__': |
| 26 | main() |