{"id":13793772,"url":"https://github.com/fabiospampinato/autogit-plugin-confirmation","last_synced_at":"2025-05-12T20:31:12.262Z","repository":{"id":57187485,"uuid":"153632648","full_name":"fabiospampinato/autogit-plugin-confirmation","owner":"fabiospampinato","description":"A plugin for asking for confirmation before proceeding.","archived":true,"fork":false,"pushed_at":"2020-01-24T20:28:03.000Z","size":16,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-04T13:16:33.613Z","etag":null,"topics":["autogit","confirmation","plugin"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/fabiospampinato.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"fabiospampinato","custom":"https://www.paypal.me/fabiospampinato"}},"created_at":"2018-10-18T13:57:30.000Z","updated_at":"2023-12-11T16:13:42.000Z","dependencies_parsed_at":"2022-08-28T13:00:22.255Z","dependency_job_id":null,"html_url":"https://github.com/fabiospampinato/autogit-plugin-confirmation","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiospampinato%2Fautogit-plugin-confirmation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiospampinato%2Fautogit-plugin-confirmation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiospampinato%2Fautogit-plugin-confirmation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiospampinato%2Fautogit-plugin-confirmation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fabiospampinato","download_url":"https://codeload.github.com/fabiospampinato/autogit-plugin-confirmation/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253816721,"owners_count":21968873,"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":["autogit","confirmation","plugin"],"created_at":"2024-08-03T23:00:31.086Z","updated_at":"2025-05-12T20:31:11.913Z","avatar_url":"https://github.com/fabiospampinato.png","language":"TypeScript","funding_links":["https://github.com/sponsors/fabiospampinato","https://www.paypal.me/fabiospampinato"],"categories":["Plugins"],"sub_categories":[],"readme":"# Autogit Plugin - Confirmation\n\nA plugin for asking for confirmation before proceeding.\n\nIt's useful when you want to have a final saying before executing important commands.\n\n## Install\n\n```sh\nnpm install --save autogit-plugin-confirmation\n```\n\n## Usage\n\n#### Options\n\nThis plugin uses the following options object:\n\n```js\n{\n  message: 'Are you sure you want to proceed: (Y/n)', // The confirmation message\n  defaultValue: 'Y' // Default confirmation value if none is provided\n}\n```\n\nIf the provided confirmation value starts with a `Y` or `y` we well proceed, otherwise an exception will be thrown and the following plugins won't be executed.\n\n#### Configuration\n\nAdd this plugin to a command:\n\n```js\nconst confirmation = require ( 'autogit-plugin-confirmation' );\n\nmodule.exports = {\n  commands: {\n    'my-command': [\n      confirmation ({\n        message: 'Press enter to confirm:'\n      })\n    ]\n  }\n}\n```\n\n## License\n\nMIT © Fabio Spampinato\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabiospampinato%2Fautogit-plugin-confirmation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffabiospampinato%2Fautogit-plugin-confirmation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabiospampinato%2Fautogit-plugin-confirmation/lists"}