abiosoft / ishell

Library for creating interactive cli applications.
MIT License
1.68k stars 195 forks source link

[Feature Request] Jumping to Commands #67

Closed dr1ss closed 6 years ago

dr1ss commented 6 years ago

Hello guys, I think it would be great to call (jump to) a command from another command. Here is an usage example :

The idea is calling the first command from the second one when the user is done reading the details about the log entry he selected.. So it basically returns him to the list of logs

abiosoft commented 6 years ago

You can always use functions to achieve similar purpose. i.e. command 1 and 2 can call same function to list log entries.

Feel free to reopen if you think otherwise.