TTY Prompt
Ask questions and parse answers in a terminal program.
piotrmurach · Everyday tools
GitHub projectOpen source Open on GitHubHow to try it
With Ruby 3.2 available, install tty-prompt at version 0.23.1. Read a synthetic fruit name from an in-memory terminal input.
What we tested
0.23.1. Read a synthetic fruit name from an in-memory terminal input. The prompt returned pear and wrote the question to the captured terminal.
Reviews
Rate this repoMore to explore
- Clamp for RubyBuild a Ruby command-line interface with named options.GitHub projectOpen source
- Docopt for RubyBuild command-line parsers from a usage message.GitHub projectOpen source
- Dry CLIBuild Ruby command-line tools from a registry of commands.GitHub projectOpen source