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

Aliases do not produce the same help docs

Open purplecabbage opened this issue 2 years ago • 1 comments

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

purplecabbage avatar Jan 21 '23 01:01 purplecabbage

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

aiojbot avatar Jan 23 '23 07:01 aiojbot