abiosoft / abiosoft/ishell

Feature Request: Provide ability to invoke chained functions

Ouverte
#59 3 commentaires 1 réaction 0 personnes assignées Voir sur GitHub
Langage dominant
Go
Étoiles
1.8k
Forks
213
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

Hi,

given that I have a chain of Cmds (update, user, set, name) and "john" being an argument:
```
>>> update user set name john
```

It would be nice to have the invocation of this string as a subsequent invocation of all cmds in the chain. resulting in:
update.Func() -> user.Func() -> set.Func() -> name.Func() -> (c.Args[0] == john)

rather than only the function of `name`

right now I could parse c.RawArgs when name.Func() is called and call each cmds by myself. but it would be nice to have it built in into ishell.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.