adobe / adobe/aio-cli-plugin-runtime

Aliases do not produce the same help docs

オープン
#271 コメント 1 件 リアクション 0 件 担当者 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 のコマンド/topic エイリアシングのエントリーポイントを調査します。エイリアスされたヘルプに、正規コマンドと同じコマンドコンテキストとドキュメントが含まれていれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript
領域
cli
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。