platformsh / cli

The unified tool for managing your Platform.sh services from the command line.
https://docs.platform.sh/administration/cli.html
MIT License
16 stars 6 forks source link

List command displays Legacy CLI version instead of the correct one #173

Closed akalipetis closed 1 month ago

akalipetis commented 4 months ago

Steps to reproduce:

  1. Run platform --version
  2. Run platform list | head -n 1
  3. Both commands should output the same version

Technical details

The CLI version should be overwritten when the command list is fetched from the Legacy CLI. https://github.com/platformsh/cli/blob/ee641b8b2e40d61bcf385e37cb352be954e6722a/commands/list.go#L66-L69