{"id":21934931,"url":"https://github.com/tueda/cli-confirm","last_synced_at":"2025-03-22T13:42:19.543Z","repository":{"id":57417266,"uuid":"334138030","full_name":"tueda/cli-confirm","owner":"tueda","description":"A CLI utility to confirm yes/no.","archived":false,"fork":false,"pushed_at":"2022-11-01T03:05:24.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-28T01:45:55.599Z","etag":null,"topics":["confirmation","console","python"],"latest_commit_sha":null,"homepage":"","language":"Python","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/tueda.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2021-01-29T12:25:51.000Z","updated_at":"2022-06-30T09:26:56.000Z","dependencies_parsed_at":"2022-08-29T19:11:20.961Z","dependency_job_id":null,"html_url":"https://github.com/tueda/cli-confirm","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tueda%2Fcli-confirm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tueda%2Fcli-confirm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tueda%2Fcli-confirm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tueda%2Fcli-confirm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tueda","download_url":"https://codeload.github.com/tueda/cli-confirm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244966458,"owners_count":20539794,"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":["confirmation","console","python"],"created_at":"2024-11-29T00:17:45.268Z","updated_at":"2025-03-22T13:42:19.519Z","avatar_url":"https://github.com/tueda.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"cli-confirm\n===========\n\n[![Test](https://github.com/tueda/cli-confirm/workflows/CI/badge.svg?branch=master)](https://github.com/tueda/cli-confirm/actions?query=branch:master)\n[![PyPI version](https://badge.fury.io/py/cli-confirm.svg)](https://pypi.org/project/cli-confirm/)\n\nA CLI utility to confirm yes/no.\n\n\nInstallation\n------------\n\n```sh\npip install cli-confirm\n```\n\n\nExample\n-------\n\n```sh\nconfirm 'Are you sure?'\n```\nwhich shows a prompt to ask yes/no:\n```\nAre you sure? [y/N]:\n```\nIf the user answers \"yes\", then it returns a zero exit status.\nIt returns a non-zero exit status otherwise.\n\n\nMotivation\n----------\n\nThis utility can be used in a combination with [taskipy](https://github.com/illBeRoy/taskipy) as follows:\n\n```toml\n[tool.taskipy.tasks]\ndeploy = \"confirm 'Are you sure to deploy?' \u0026\u0026 mkdocs gh-deploy\"\n```\n\n\nLicense\n-------\n\n[MIT](https://github.com/tueda/cli-confirm/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftueda%2Fcli-confirm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftueda%2Fcli-confirm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftueda%2Fcli-confirm/lists"}