{"id":21527160,"url":"https://github.com/gpittarelli/inquest","last_synced_at":"2025-04-09T23:34:46.069Z","repository":{"id":57274371,"uuid":"80400489","full_name":"gpittarelli/inquest","owner":"gpittarelli","description":"CLI wrapper around inquirer's pretty CLI user prompts","archived":false,"fork":false,"pushed_at":"2018-06-20T21:25:39.000Z","size":589,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-27T02:40:30.707Z","etag":null,"topics":["cli","inquirer","monorepo","nodejs"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gpittarelli.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-30T07:05:13.000Z","updated_at":"2018-09-08T00:17:57.000Z","dependencies_parsed_at":"2022-09-17T10:13:00.561Z","dependency_job_id":null,"html_url":"https://github.com/gpittarelli/inquest","commit_stats":null,"previous_names":[],"tags_count":26,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpittarelli%2Finquest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpittarelli%2Finquest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpittarelli%2Finquest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpittarelli%2Finquest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gpittarelli","download_url":"https://codeload.github.com/gpittarelli/inquest/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248130352,"owners_count":21052733,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","inquirer","monorepo","nodejs"],"created_at":"2024-11-24T01:47:58.934Z","updated_at":"2025-04-09T23:34:46.047Z","avatar_url":"https://github.com/gpittarelli.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# inquest\n\nImplements a simple `inquest` script exposing some\nof [inquirer](https://github.com/sboudrias/Inquirer.js)'s power to\nshell scripts.\n\n## Commands\n\n### --help\n\n```\n$ inquest --help\n\n  Usage: inquest [options] [command]\n\n\n  Commands:\n\n    confirm     Ask the user Yes/No\n    checkbox    Ask the user to select multiple values\n    fuzzy       Ask the user to select a value, autocompleted with fuzzy matching\n    help [cmd]  display help for [cmd]\n\n  Options:\n\n    -h, --help     output usage information\n    -V, --version  output the version number\n\n```\n\n### confirm\n\n```\n$ inquest confirm\n\n  Usage: inquest-confirm [options] \u003cmesssage...\u003e\n\n  Prints the given message and asks the user to confirm (yes) or\n  abort (no). Exits with status 0 if yes is chosen; else 1.\n\n  To protect especially sensitive operations, you can specify\n  --key=somePhrase to require the user to enter exactly somePhrase.\n\n  Options:\n\n    -h, --help      output usage information\n    -V, --version   output the version number\n    -k --key \u003ckey\u003e  Specific phrase instead of 'yes'\n\n```\n\n![confirm demo](docs/inquest-confirm-demo.gif?raw=true)\n\n### fuzzy\n\n```\n$ inquest fuzzy\n\n  Usage: inquest-fuzzy [options] \u003cmessage\u003e \u003coptions...\u003e\n\n  Displays the given message and allows the user to select from the\n  specified options with fuzzy-matching autocomplete. The selected\n  value is printed to the specified output file. Exits with status\n  0 if a value is chosen; else 1 (eg, user aborts with Ctrl-C).\n\n  Options:\n\n    -h, --help                    output usage information\n    -V, --version                 output the version number\n    -o, --out-file \u003coutput file\u003e  File to print selected value too\n\n```\n\n![fuzzy demo](docs/inquest-fuzzy-demo.gif?raw=true)\n\n### checkbox\n\n```\n$ inquest checkbox\n\n  Usage: inquest-checkbox [options] \u003cmesssage\u003e \u003coptions...\u003e\n\n  Asks the user to select 0 or more of the supplied values.\n\n  Options:\n\n    -h, --help                    output usage information\n    -V, --version                 output the version number\n    -o, --out-file \u003coutput file\u003e  File to print selected values too\n\n```\n\n## License\n\nReleased under the MIT License. See the LICENSE file for full text\n\nCopyright © 2017 George Pittarelli\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgpittarelli%2Finquest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgpittarelli%2Finquest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgpittarelli%2Finquest/lists"}