Skip to content

Interactive commands support #43

@jrichardsz

Description

@jrichardsz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions