![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Interactive user prompts on CLI for ruby.
idx = Ask.list "Look behind you...", [
"a three-headed monkey!",
"a pink pony",
"Godzilla"
]
# idx is the selected index
Takes optional default
property that define the checked options
idx = Ask.checkbox "Monkey see, monkey...", [
"don't",
"eats Banana",
"do"
], default: [true, false, true]
# idx is an array containing the selections
Takes optional default
property (string
).
firstname = Ask.input "What's your name"
phone = Ask.input "What's your phone number", default: "123"
# name and phone are the responses for each question
Takes optional default
property (true
or false
). The default default
value is true.
value = Ask.confirm "Are you sure?"
# value is a boolean
Ask.confirm "Are you sure?", default: false
# Default is false
string
The text to your are going to askarray
Array of options to show. Only for checkbox
and list
types.You can pass this options as the lastest parameter
bool
[Default true] Clear the original question after pressing enterbool
[Default true] Whether to show the selected response# If you dont want any output use
Ask.input "What's your name", response: false
# If you don't want the response and you want to keep the question prompt
Ask.input "What's your name", clear: false, response: false
gem install inquirer
Ruby | Linux | OS X | Windows |
---|---|---|---|
MRI 1.9.3 | ✔ | ✔ | ✘ |
MRI 2.0.x | ✔ | ✔ | ✘ |
MRI 2.1.x | ✔ | ✔ | ✘ |
MRI 2.2.x | ✔ | ✔ | ✘ |
Rubinius 2.5.x | ✔ | ✔ | ✘ |
JRuby 1.7.x | ✘ | ✘ | ✘ |
Thank you for contributing!
This is basically the wonderful Inquirer.js, just done for ruby. I was unable to find a good gem to handle user interaction in ruby as well as this module does in JS.
Apache v2 Author: Dominik Richter
FAQs
Unknown package
We found that inquirer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.