adobe / aio-cli-plugin-runtime

Adobe I/O Runtime plugin for the Adobe I/O CLI
https://www.adobe.io
Apache License 2.0
15 stars 31 forks source link

Aliases do not produce the same help docs #271

Open purplecabbage opened 1 year ago

purplecabbage commented 1 year ago

I am not sure if it is recent Oclif changes, or our own extensive command/topic aliasing but using rt in place of runtime produces much less context in --help

 aio runtime action --help
Manage your actions

USAGE
  $ aio runtime action [--cert] [--key] [--apiversion] [--apihost] [-u] [-i] [--debug <value>] [-v] [--version] [--help]

FLAGS
  -i, --insecure   bypass certificate check
  -u, --auth       whisk auth
  -v, --verbose    Verbose output
  --apihost        whisk API host
  --apiversion     whisk API version
  --cert           client cert
  --debug=<value>  Debug level output
  --help           Show help
  --key            client key
  --version        Show version

DESCRIPTION
  Manage your actions

ALIASES
  $ aio rt action

COMMANDS
  runtime action create  Creates an Action
  runtime action delete  Deletes an Action
  runtime action get     Retrieves an Action
  runtime action invoke  Invokes an Action
  runtime action list    Lists all the Actions
  runtime action update  Updates an Action

Versus the same thing with the rt alias

aio rt action --help
Manage your actions

USAGE
  $ aio rt action [--cert] [--key] [--apiversion] [--apihost] [-u] [-i] [--debug <value>] [-v] [--version] [--help]

FLAGS
  -i, --insecure   bypass certificate check
  -u, --auth       whisk auth
  -v, --verbose    Verbose output
  --apihost        whisk API host
  --apiversion     whisk API version
  --cert           client cert
  --debug=<value>  Debug level output
  --help           Show help
  --key            client key
  --version        Show version

DESCRIPTION
  Manage your actions

ALIASES
  $ aio rt action
aiojbot commented 1 year ago

JIRA issue created: https://jira.corp.adobe.com/browse/ACNA-1964