{"library":"yargs-interactive","type":"library","category":null,"description":"yargs-interactive is a JavaScript library designed to integrate interactive command-line prompts, powered by Inquirer.js, directly into yargs-based CLIs. This enables developers to create flexible command-line tools that can either parse arguments non-interactively (suitable for scripting and automation) or dynamically prompt users for missing information (for human interaction). The current stable version is 3.0.1, released in April 2022. The project's release cadence appears to be irregular, suggesting a maintenance-focused development cycle rather than active feature additions. Its key differentiation lies in its seamless blending of Yargs' robust argument parsing with Inquirer.js's user-friendly prompting, allowing the same CLI tool to serve diverse use cases, from automated CI/CD pipelines to interactive user experiences, without extensive conditional logic.","language":"javascript","status":"maintenance","version":"3.0.1","tags":["javascript","yargs","interactive","cli","arguments","args","prompt","inquirer"],"last_verified":"Wed May 27","install":[{"cmd":"npm install yargs-interactive","imports":["const yargsInteractive = require(\"yargs-interactive\");","yargsInteractive().interactive(options)"]},{"cmd":"yarn add yargs-interactive","imports":[]},{"cmd":"pnpm add yargs-interactive","imports":[]}],"homepage":null,"github":"https://github.com/nanovazquez/yargs-interactive","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/yargs-interactive","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/yargs-interactive/compatibility"}}