Closed sarahxxu closed 4 years ago
aio-cli
was never supposed to be in the list of plugins to update and this has been fixed in #137 (released in 3.4.0)
We only have the warning that there is a new cli to update, and the user has to update the cli manually (you can't update the CLI when it is running itself -- it has to be out of band)
Ah thanks a lot for the note! To jolt my memory, this warning is shown when there's a new cli version, and with any command the users run, this warning asks them to run the npm update command? Do you have an example? I'd like to update the docs accordingly!
this may be printed before a command's output (for a max 7 days). this warning happens async so it does not affect performance.
$ aio plugins --help
› Warning: @adobe/aio-cli update available from 3.3.0 to 3.4.1.
› Run npm install -g @adobe/aio-cli to update.
Thanks! Updated the docs and closing issue.
Expected Behaviour
aio update
should install the latest version of the CLI.Actual Behaviour
aio update
does not seem to update my Adobe I/O CLI properly, even though the result seems successful. I had to usenpm
to update.Steps to Reproduce
Listed above
Platform and Version