ionic-team / ionic-team/ionic-cli

Add component option to docs command

Aberta
#4,897 0 comentários 0 reações 0 responsáveis Ver no GitHub
triage
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

Abrir o 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

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.