abiosoft / abiosoft/ishell

Feature Request: Provide ability to invoke chained functions

未关闭
#59 3 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Go
星标
1.8k
派生
213
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。