ionic-team / ionic-team/ionic-cli

Add component option to docs command

未关闭
#4,897 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
triage
主要语言
TypeScript
星标
2k
派生
682
PR 合并指标
30 天内没有已合并 PR

描述

I started writing my own CLI utility to do this but if the team would be open to adding this I would love to send a PR.

Basically, I would like to add a `component`/`-c` option to the `ionic docs` command that would open the relevant component directly in the documentation. For example, running:

```
ionic docs -c button
```

would open:

```
https://ionicframework.com/docs/api/badge
```

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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