How to find the parent of subcommand?
Ouverte
- Langage dominant
- Go
- Étoiles
- 1.8k
- Forks
- 213
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
In case of subcommands, how to find the parent command, using the ishell context of the sub command?
For example:
Say mycmd and newcmd has 2 subcommands:
```
mycmd help
add del
newcmd help
add del
```
The handler for add receives the ishell.Context. How to figure if the parent of add is mycmd or newcmd?
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.