cli-confirm
A CLI utility to confirm yes/no.
Installation
pip install cli-confirm
Example
confirm 'Are you sure?'
which shows a prompt to ask yes/no:
Are you sure? [y/N]:
If the user answers "yes", then it returns a zero exit status. It returns a non-zero exit status otherwise.
Motivation
This utility can be used in a combination with taskipy as follows:
[tool.taskipy.tasks]
deploy = "confirm 'Are you sure to deploy?' && mkdocs gh-deploy"
License
Metadata
Release files for cli-confirm 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cli-confirm-1.0.0.tar.gz | 3.0 kB | Without provenance | Details for cli-confirm-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cli_confirm-1.0.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for cli_confirm-1.0.0-py2.py3-none-any.whl |
Total release size: 6.6 kB
Release files / cli-confirm-1.0.0.tar.gz
| Download URL | cli-confirm-1.0.0.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b5df1ad1646b6ab1ae422068ccb22157746d44b4c27c47d35eaa788d3b860f79
|
|
BLAKE2b-256 checksum How to use checksums |
1a56e8ebf651934e02b234f84c563f568ce27d4b918c64649d577ca5d4c62ec4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.4 CPython/3.9.1 Linux/5.4.72-microsoft-standard-WSL2
|
Release files / cli_confirm-1.0.0-py2.py3-none-any.whl
| Download URL | cli_confirm-1.0.0-py2.py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
8ba34a4b9e14a919b6cec296da28294ea985a483ed60f1250fd9b014d008d352
|
|
BLAKE2b-256 checksum How to use checksums |
c8a4f9adaa9120782bb94ebb78f51a37e237a807802cb5cde5a9def803316640
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.4 CPython/3.9.1 Linux/5.4.72-microsoft-standard-WSL2
|
Security for cli-confirm 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.