ionic-team / ionic-team/ionic-cli
Add component option to docs command
- Langage dominant
- TypeScript
- Étoiles
- 2k
- Forks
- 682
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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
```
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- typescript
- Domaine
- cli
- Type d'issue
- Fonctionnalité
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 45/100