aio-cli icon indicating copy to clipboard operation
aio-cli copied to clipboard

--version does not show the version

Open kptdobe opened this issue 4 years ago • 2 comments

Describe the bug version parameter is always ignored and command gets executed.

To Reproduce Run aio app --version -> shows the available options. Run aio app run --version -> executes the run command

Expected behavior The version of the plugin should be displayed.

Desktop (please complete the following information):

  • OS: MacOS 10.14.06
aio --version    
@adobe/aio-cli/3.3.0 darwin-x64 node-v10.18.1

kptdobe avatar Apr 22 '20 10:04 kptdobe

Thanks for this enhancement proposal @kptdobe . I move the issue to the aio-cli directly, as I think this could apply to every CLI plugin in a standardized way. @sarahxxu what do you think?

meryllblanchet avatar Apr 25 '20 16:04 meryllblanchet

Updating the issue thread with a workaround that @kptdobe already knows:

aio info will list environmental information from the CLI. This includes the currently installed version of the CLI, but also the list of core and user-installed plugins as well as their version.

meryllblanchet avatar Aug 17 '20 12:08 meryllblanchet