minio / mc

Unix like utilities for object store
https://min.io/download
GNU Affero General Public License v3.0
2.86k stars 548 forks source link

Use lipgloss's table package for ilm-tier-ls #4890

Closed krisis closed 7 months ago

krisis commented 7 months ago

Community Contribution License

All community contributions in this pull request are licensed to the project maintainers under the terms of the Apache 2 license. By creating this pull request I represent that I have the right to license the contributions to the project maintainers under the Apache 2 license.

Description

Move to lipgloss/table package for ilm-tier-ls.

Motivation and Context

lipgloss packages for TUI are better maintained.

How to test this PR?

  1. Configure remote tiers
  2. mc ilm tier ls ALIAS
 ./mc ilm tier list play
┌──────────────┬─────┬──────────────────────────────────────────┬───────────┬───────────┬──────┬─────────────┐
│Name          │Type │Endpoint                                  │Bucket     │Prefix     │Region│Storage-Class│
├──────────────┼─────┼──────────────────────────────────────────┼───────────┼───────────┼──────┼─────────────┤
│COLD-STORAGE-1│azure│https://afzstorage1.blob.core.windows.net │azcontainer│afznewdatax│      │             │
│THINHNGUYEN   │azure│https://thinhnguyen.blob.core.windows.net/│project    │project    │asia  │             │
└──────────────┴─────┴──────────────────────────────────────────┴───────────┴───────────┴──────┴─────────────┘

Types of changes

Checklist: