oclif/plugin-update

Would be nice for `--available` to include `Channel` as well in the last column

shamsartem opened this issue · 3 comments

Currently we have two columns in the output of this flag:

Location and Version

Would be nice to also see Channel there in the las column if it is possible to implement

folex commented

A good example of why this information is important would be npm dist-ls. Here's an example:

% npm dist-tag ls @fluencelabs/cli
kras: 0.12.5-1
latest: 0.12.5-1
stable: 0.12.5-1
stage: 0.13.0
testnet: 0.12.5-1
unstable: 0.13.0

We use tags to manage release channels in both NPM and oclif. And it's super nice to be able to look at the channels layout, ie see what versions are assigned to which channels.

Our current --available output looks like this:

% fluence update -a
 Location                                                                                                   Version
 ────────────────────────────────────────────────────────────────────────────────────────────────────────── ────────
 /Users/folex/.local/share/fluence/client/0.13.0-d481934                                                    0.13.0
 /Users/folex/.local/share/fluence/client/0.12.5-1-26ca3dd                                                  0.12.5
 /Users/folex/.local/share/fluence/client/0.12.5-1-26ca3dd                                                  0.12.5-1
 /Users/folex/.local/share/fluence/client/0.12.4-801bcf4                                                    0.12.4
 https://fcli-binaries.s3.amazonaws.com/versions/0.12.3/049ba1e/fluence-v0.12.3-049ba1e-darwin-arm64.tar.gz 0.12.3
 https://fcli-binaries.s3.amazonaws.com/versions/0.12.2/5bd3563/fluence-v0.12.2-5bd3563-darwin-arm64.tar.gz 0.12.2
 /Users/folex/.local/share/fluence/client/0.12.1-e858ed4                                                    0.12.1
 /Users/folex/.local/share/fluence/client/0.12.0-0fa6fa5                                                    0.12.0
 https://fcli-binaries.s3.amazonaws.com/versions/0.11.5/0e2fe1b/fluence-v0.11.5-0e2fe1b-darwin-arm64.tar.gz 0.11.5
 /Users/folex/.local/share/fluence/client/0.11.4-428a40c                                                    0.11.4
 /Users/folex/.local/share/fluence/client/0.11.3-90efcdb                                                    0.11.3
 /Users/folex/.local/share/fluence/client/0.11.2-b8d6c5b                                                    0.11.2
 /Users/folex/.local/share/fluence/client/0.11.1-a4706c5                                                    0.11.1
 https://fcli-binaries.s3.amazonaws.com/versions/0.11.0/b624ecc/fluence-v0.11.0-b624ecc-darwin-arm64.tar.gz 0.11.0
 https://fcli-binaries.s3.amazonaws.com/versions/0.10.0/fef0b67/fluence-v0.10.0-fef0b67-darwin-arm64.tar.gz 0.10.0
 /Users/folex/.local/share/fluence/client/0.9.1-1e6480e                                                     0.9.1

Would be great to add Channel there.

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

This issue has been linked to a new work item: W-15974839