(parser)
| 337 | |
| 338 | |
| 339 | def add_common_arguments(parser): |
| 340 | parser.add_argument( |
| 341 | "-r", |
| 342 | "--resources", |
| 343 | action="append", |
| 344 | help="limit operation to the specified resources", |
| 345 | ) |
| 346 | parser.add_argument( |
| 347 | "-l", |
| 348 | "--languages", |
| 349 | action="append", |
| 350 | help="limit operation to the specified languages", |
| 351 | ) |
| 352 | parser.add_argument( |
| 353 | "-v", |
| 354 | "--verbosity", |
| 355 | default=1, |
| 356 | type=int, |
| 357 | choices=[0, 1, 2, 3], |
| 358 | help=( |
| 359 | "Verbosity level; 0=minimal output, 1=normal output, 2=verbose output, " |
| 360 | "3=very verbose output" |
| 361 | ), |
| 362 | ) |
| 363 | |
| 364 | |
| 365 | if __name__ == "__main__": |
no outgoing calls
no test coverage detected