ishell icon indicating copy to clipboard operation
ishell copied to clipboard

Feature Request: Provide ability to invoke chained functions

Open omani opened this issue 8 years ago • 3 comments

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.

omani avatar Aug 27 '17 13:08 omani

this would also help to solve https://github.com/abiosoft/ishell/issues/50

omani avatar Aug 27 '17 13:08 omani

How useful is this to the average user ?

abiosoft avatar Dec 03 '17 13:12 abiosoft

I don't think the average user needs this.

omani avatar Dec 03 '17 18:12 omani