abiosoft / abiosoft/ishell

Feature Request: Provide ability to invoke chained functions

Aberta
#59 3 comentários 1 reação 0 responsáveis Ver no GitHub
Linguagem predominante
Go
Estrelas
1.8k
Forks
213
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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.

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

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