readme docs: confusing help for `aio config`
From a user:
Proxy support section on this page https://github.com/adobe/aio-cli?tab=readme-ov-file#proxy-support says set environment variable (refer image) and same page has a section dedicated to setting up environment variable (refer image). That is causing confusion.
I was trying to setup environment variable as following which are both wrong. aio config -e HTTP_PROXY=https://user:[email protected]/ aio config -e HTTP_PROXY https://user:[email protected]/
Explanation
aio config is actually an alias for aio config list, but it also lists get, set, edit etc in its help. Users are confused here since aio config also lists the whole help for aio config (and its subcommands), as well as it being the alias for aio config list and showing the flags for that.
JIRA issue created: https://jira.corp.adobe.com/browse/ACNA-3110
https://github.com/adobe/aio-cli-plugin-config/blame/6cc403bc59bfca43ba943bc1e1728bf4ab3c4f79/src/commands/config/index.js#L15
The command is doing something weird, in that it inherits from another command. It shouldn't do so, in this case it is essentially just the list command (not an alias. the alias here is implicit). It should do something like this instead: https://github.com/adobe/aio-cli-plugin-app/blob/master/src/commands/app/index.js
Filed https://github.com/adobe/aio-cli-plugin-config/issues/155