Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Use the table feature of the python-rich library for apio's report. #559

Open
zapta opened this issue Jan 26, 2025 · 0 comments

Comments

@zapta
Copy link
Collaborator

zapta commented Jan 26, 2025

This applies to reports such as boards, fgas, platforms, and system info. Change the output format to a more readable table format. Motivation is data readability.

For example (colors disabled for github):

/projects/apio-dev/repo$ apio system info
┌─────────────────┬────────────────────────────────────────┐
│ Apio version    │ 0.9.6                                  │
├─────────────────┼────────────────────────────────────────┤
│ Python version  │ 3.13                                   │
├─────────────────┼────────────────────────────────────────┤
│ Platform id     │ darwin_arm64                           │
├─────────────────┼────────────────────────────────────────┤
│ Python package  │ /Volumes/projects/apio-dev/repo/apio   │
├─────────────────┼────────────────────────────────────────┤
│ Apio home       │ /Users/user/.apio                      │
├─────────────────┼────────────────────────────────────────┤
│ Apio packages   │ /Users/user/.apio/packages             │
└─────────────────┴────────────────────────────────────────┘


/projects/apio-dev/repo$ apio system platforms
┌──────────────────┬───────────────────────┐
│   darwin         │  Mac OSX, x86 64 bit  │
├──────────────────┼───────────────────────┤
│ * darwin_arm64   │  Mac OSX, ARM 64 bit  │
├──────────────────┼───────────────────────┤
│   linux_aarch64  │  Linux ARM 64 bit     │
├──────────────────┼───────────────────────┤
│   linux_x86_64   │  Linux X86 64 bit     │
├──────────────────┼───────────────────────┤
│   windows_amd64  │  Windows x86 64 bit   │
└──────────────────┴───────────────────────┘
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant