CLI tools print tables. Implement format_table(headers, rows) returning a string in exactly this format:
| name | qty | price |
|-------|-----|-------|
| apple | 3 | 1.50 |
| kiwi | 12 | 0.25 |
Rules:
None value in it is an int or float (but not a bool). Numeric columns are right-aligned, including their header. Other columns are left-aligned.None is shown as an empty cell. Everything else uses str()."\n", with no trailing newline.