Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interactive commands support #43

Open
jrichardsz opened this issue Mar 17, 2021 · 0 comments
Open

Interactive commands support #43

jrichardsz opened this issue Mar 17, 2021 · 0 comments

Comments

@jrichardsz
Copy link

Is there a possibility to add create a new command in which the user should enter some information?

Like read -p command:
https://i.ibb.co/yRQzgF6/Screenshot-from-2021-03-17-00-12-20.png

My real poc is to create a mini wizard like:

  • create_folder
  • please sr, enter the name of your folder: ....

I reviewed the commands folder but I cannot find a command which response is a question to the user:

https://github.com/trybash/bash-emulator/tree/gh-pages/src/commands

Thanks for your time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant