Remove the manual rendering logic and make use of the rich tags to render colors. Also improve the readability of tables and help pages. Add a new section Help topics for user who wants to learn any of the topics instead of printing everything on the first page.
✔️ How to Test
make testunit
Verify that x-linode-cli-color input still work: lin linodes ls
See the change for help page: lin
See the change for help topic page, i.e. : lin env-vars
See the change for operation help page: lin domains
See the chanage for table: lin regions ls
See the change for overriden table: lin linodes types
📝 Description
Remove the manual rendering logic and make use of the rich tags to render colors. Also improve the readability of tables and help pages. Add a new section
Help topics
for user who wants to learn any of the topics instead of printing everything on the first page.✔️ How to Test
make testunit
Verify that
x-linode-cli-color
input still work:lin linodes ls
See the change for help page:
lin
See the change for help topic page, i.e. :lin env-vars
See the change for operation help page:lin domains
See the chanage for table:lin regions ls
See the change for overriden table:lin linodes types
📷 Preview
Help page:
Help topic example (lin env-vars):
Operation help page:
Table:
Overridden table: