How to find the parent of subcommand?
Abierto
- Lenguaje dominante
- Go
- Estrellas
- 1.8k
- Forks
- 213
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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?
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.