astanin / python-tabulate

Pretty-print tabular data in Python, a library and a command-line utility. Repository migrated from bitbucket.org/astanin/python-tabulate.
https://pypi.org/project/tabulate/
MIT License
2.09k stars 162 forks source link

how to set the maxcolwidths argument in CLI #324

Closed 11100010 closed 3 months ago

11100010 commented 3 months ago

tabulate -s "," -f fancy_grid -maxcolwidths=(None, 8) doesn't work. Is it possible to set the maxcolwidths argument in CLI?

gschizas commented 3 months ago

Not currently, no. You can see that from running tabulate -h, or by viewing the _main function which doesn't contain any reference to maxcolwidths.