ionic-team / ionic-team/ionic-cli
Add component option to docs command
- Linguagem predominante
- TypeScript
- Estrelas
- 2k
- Forks
- 682
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
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
```
Guia de contribuição
Direção de pesquisa
Start at the `ionic docs` command implementation and trace how its arguments are parsed and how documentation URLs are opened. Clarify whether `-c button` should resolve to the Button component or the example URL's Badge component, then add the option and verify the resulting URL through the command's existing tests or manual invocation.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- typescript
- Domínio
- cli
- Tipo de issue
- Funcionalidade
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 45/100