Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aliases do not produce the same help docs #271

Open
purplecabbage opened this issue Jan 21, 2023 · 1 comment
Open

Aliases do not produce the same help docs #271

purplecabbage opened this issue Jan 21, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@purplecabbage
Copy link
Member

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 purplecabbage added the bug Something isn't working label Jan 21, 2023
@purplecabbage purplecabbage changed the title Aliases do not produce the same docs Aliases do not produce the same help docs Jan 21, 2023
@aiojbot
Copy link
Collaborator

aiojbot commented Jan 23, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants