adobe / adobe/aio-cli-plugin-runtime

Aliases do not produce the same help docs

未关闭
#271 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
JavaScript
星标
21
派生
33
PR 合并指标
30 天内没有已合并 PR

描述

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 ] [-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= 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 ] [-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= Debug level output
--help Show help
--key client key
--version Show version

DESCRIPTION
Manage your actions

ALIASES
$ aio rt action

```

贡献指南

打开贡献指南

调研方向

复现 `aio runtime action --help` 与 `aio rt action --help` 之间的差异,然后检查 runtime 和 `rt` 命令使用的 Oclif command/topic aliasing 入口点。完成标准是:别名帮助包含与规范命令相同的命令上下文和文档。

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript
领域
cli
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。