(args)
| 62 | |
| 63 | |
| 64 | def cmd_list(args): |
| 65 | if args.module: |
| 66 | try: |
| 67 | functions = list_functions(args.module) |
| 68 | except Exception as e: |
| 69 | print(f"Error: {e}", file=sys.stderr) |
| 70 | sys.exit(1) |
| 71 | print(format_output(functions, args.output_format)) |
| 72 | else: |
| 73 | modules = list_modules() |
| 74 | print(format_output(modules, args.output_format)) |
| 75 | |
| 76 | |
| 77 | def cmd_docs(args): |
no test coverage detected