(table)
| 801 | print_clusterrolebinding_rules(args.clusterrolebinding_rules) |
| 802 | |
| 803 | def print_table_aligned_left(table): |
| 804 | global json_filename |
| 805 | if json_filename != "": |
| 806 | export_to_json(table, json_filename) |
| 807 | global output_file |
| 808 | if no_color: |
| 809 | ansi_escape = re.compile(r'\x1B(?:[@-Z\\-_]|\[[0-?]*[ -/]*[@-~])') |
| 810 | for row in table._rows: |
| 811 | row[0] = ansi_escape.sub('', row[0]) |
| 812 | |
| 813 | table.align = 'l' |
| 814 | print(table) |
| 815 | print('\n') |
| 816 | |
| 817 | |
| 818 | def export_to_json(table, json_filename): |
no test coverage detected