File: table_creation.md

package info (click to toggle)
cmd2 3.2.0%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 2,664 kB
  • sloc: python: 17,488; makefile: 114; sh: 39; javascript: 7
file content (12 lines) | stat: -rw-r--r-- 516 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
# Table Creation

As of version 3.0.0, `cmd2` no longer includes custom code for table creation.

This is because `cmd2` now has a dependency on [rich](https://github.com/Textualize/rich) which has
excellent support for this feature.

Please see rich's documentation on [Tables](https://rich.readthedocs.io/en/latest/tables.html) for
more information.

The [rich_tables.py](https://github.com/python-cmd2/cmd2/blob/main/examples/rich_tables.py) example
demonstrates how to use `rich` tables in a `cmd2` application.