Commit 312994e
Update
This should be fine, names are not allowed to exceed 100 characters.
From Claude:
1. Added dynamic column width calculation: The code now scans through
all instances first to determine the maximum width needed for each
column (ID, NAME, PLAN, REGION).
2. Added padding: Each column gets an extra 2 spaces of padding for
better readability.
3. Dynamic format strings: Instead of using fixed-width format
specifiers (like %-20s), the code now generates format strings based on
the actual data, ensuring perfect alignment regardless of content
length.
Close #10
Co-authored-by: Claude <noreply@anthropic.com>cloudamqp instance list to handle long names (#12)1 parent e5d498a commit 312994e
1 file changed
Lines changed: 36 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
35 | 68 | | |
36 | | - | |
37 | | - | |
| 69 | + | |
| 70 | + | |
38 | 71 | | |
39 | 72 | | |
40 | 73 | | |
41 | | - | |
| 74 | + | |
42 | 75 | | |
43 | 76 | | |
44 | 77 | | |
| |||
0 commit comments