abiosoft / abiosoft/ishell

Feature Request: Provide ability to invoke chained functions

Open
#59 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
Go
Stars
1.8k
Forks
213
PR merge metrics
No merged PRs in 30d

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.