adobe / adobe/aio-cli-plugin-runtime

Aliases do not produce the same help docs

Đang mở
#271 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
JavaScript
Star
21
Fork
33
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

```

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Tái hiện sự khác biệt giữa `aio runtime action --help` và `aio rt action --help`, sau đó kiểm tra các entry point aliasing command/topic của Oclif được các command runtime và `rt` sử dụng. Hoàn thành khi phần trợ giúp của alias bao gồm cùng ngữ cảnh command và tài liệu như command chuẩn.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
javascript
Lĩnh vực
cli
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.