diff --git a/CHANGELOG.md b/CHANGELOG.md
index 30cb6e7..569bdf2 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,8 @@
 
 ## unreleased
 
+- add new subcommand "password" for checking a single password
+
 ## 0.2.0 (02.11.2019)
 
 ### added
diff --git a/README.md b/README.md
index cf2b4e5..e414da2 100644
--- a/README.md
+++ b/README.md
@@ -9,33 +9,29 @@ A command line interface for the "haveibeenpwned.com" API - speaks keepass.
 
 ## current state
 
-Very alpha.
+A little bit alpha.
 
 ## usage
 
 ```
-$ hibpcli keepass
+$ hibpcli keepass --path PATHTOKEEPASSDB --password PASSWORDFORKEEPASSDB
 
-Please enter the path to the database: tests/test.kdbx
-Please enter the master password for the database:
 The passwords of following entries are leaked:
 [Entry: "test_title (test_user)"]
 ```
 
-or
-
 ```
-$ hibpcli keepass --path PATHTOKEEPASSDB --password PASSWORDFORKEEPASSDB
+$ hibpcli password --password test
 
-The passwords of following entries are leaked:
-[Entry: "test_title (test_user)"]
+Please change your password!
 ```
 
+
 ## scope
 
 - check passwords in db via hibp online API (currently)
 - check passwords in db via offline check (future)
-- enter passwords manually (future)
+- enter passwords manually (currently)
 
 ## contributions, feature requests, bug reports
 
diff --git a/hibpcli/cli.py b/hibpcli/cli.py
index 0c8236c..d82084e 100644
--- a/hibpcli/cli.py
+++ b/hibpcli/cli.py
@@ -1,6 +1,7 @@
 import click
 
 from hibpcli.keepass import check_passwords_from_db
+from hibpcli.password import Password
 
 
 @click.group()
@@ -31,7 +32,23 @@ def keepass(path, password):
         click.echo("Hooray, everything is safe!")
 
 
+@click.command()
+@click.option('--password', default=None, help='Password which should be checked.')
+def password(password):
+    """Check a single password."""
+    #breakpoint()
+    if password is None:
+         password = click.prompt(
+            "Please enter a password which should be checked", hide_input=True
+        )
+    p = Password(password)
+    if p.is_leaked():
+        click.echo("Please change your password!")
+    else:
+        click.echo("Your password is safe!")
+
 main.add_command(keepass)
+main.add_command(password)
 
 
 if __name__ == "__main__":

Enable single password testing
One should be able to check single password against the hibp API for being leaked or not.

Also see #17 for more information about the new interface.

diff --git a/tests/test_cli.py b/tests/test_cli.py
index f6245f6..d58f909 100644
--- a/tests/test_cli.py
+++ b/tests/test_cli.py
@@ -4,6 +4,7 @@ from click.testing import CliRunner
 from unittest.mock import patch
 
 from hibpcli.cli import main
+from hibpcli.password import Password
 
 
 @patch("hibpcli.cli.check_passwords_from_db")
@@ -64,3 +65,36 @@ def test_keepass_subcommand_with_path_and_password_options(mock_check):
         [b'Entry: "test_title (test_user)"']
     """
     assert result.output == textwrap.dedent(expected_output)
+
+
+@patch.object(Password, "is_leaked", return_value=True)
+def test_password_subcommand_for_leaked_password(mock_password):
+    runner = CliRunner()
+    result = runner.invoke(
+        main, ["password", "--password", "test"]
+    )
+    expected_output = "Please change your password!\n"
+    assert result.output == expected_output
+
+
+@patch.object(Password, "is_leaked", return_value=False)
+def test_password_subcommand_for_safe_password(mock_password):
+    runner = CliRunner()
+    result = runner.invoke(
+        main, ["password", "--password", "test"]
+    )
+    expected_output = "Your password is safe!\n"
+    assert result.output == expected_output
+
+
+@patch.object(Password, "is_leaked", return_value=False)
+def test_password_subcommand_with_prompt(mock_password):
+    runner = CliRunner()
+    result = runner.invoke(
+        main, ["password"], input="test"
+    )
+    expected_output = """\
+        Please enter a password which should be checked: 
+        Your password is safe!
+    """
+    assert result.output == textwrap.dedent(expected_output)

pip install -e .[dev]
parse_log_pytest
requirements.txt
numpy>=1.16.0 pandas>=1.0.0 pykeepass pytest
apt-get update apt-get install -y gcc
3.9
requirements/base.txt
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
argon2-cffi==23.1.0
argon2-cffi-bindings==21.2.0
certifi==2025.1.31
cffi==1.17.1
chardet==3.0.4
Click==7.0
construct==2.10.70
exceptiongroup==1.2.2
future==1.0.0
h11==0.8.1
h2==3.2.0
-e git+https://github.com/jugmac00/hibpcli.git@be86cf6454c55eb637646041632a4b52798fbb39#egg=hibpcli
hpack==3.0.0
hstspreload==2025.1.1
httpx==0.7.5
hyperframe==5.2.0
idna==2.10
iniconfig==2.1.0
lxml==5.3.1
numpy==2.0.2
packaging==24.2
pandas==2.2.3
pluggy==1.5.0
pycparser==2.22
pycryptodome==3.22.0
pycryptodomex==3.22.0
pykeepass==3.1.1
pyotp==2.9.0
pytest==8.3.5
python-dateutil==2.9.0.post0
pytz==2025.2
rfc3986==1.5.0
six==1.17.0
tomli==2.2.1
tzdata==2025.2

name: hibpcli
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - ca-certificates=2025.2.25=h06a4308_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.4.4=h6a678d5_1
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=3.0.16=h5eee18b_0
  - pip=25.0=py39h06a4308_0
  - python=3.9.21=he870216_1
  - readline=8.2=h5eee18b_0
  - setuptools=75.8.0=py39h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - wheel=0.45.1=py39h06a4308_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - argon2-cffi==23.1.0
      - argon2-cffi-bindings==21.2.0
      - certifi==2025.1.31
      - cffi==1.17.1
      - chardet==3.0.4
      - click==7.0
      - construct==2.10.70
      - exceptiongroup==1.2.2
      - future==1.0.0
      - h11==0.8.1
      - h2==3.2.0
      - hibpcli==0.2.0
      - hpack==3.0.0
      - hstspreload==2025.1.1
      - httpx==0.7.5
      - hyperframe==5.2.0
      - idna==2.10
      - iniconfig==2.1.0
      - lxml==5.3.1
      - numpy==2.0.2
      - packaging==24.2
      - pandas==2.2.3
      - pluggy==1.5.0
      - pycparser==2.22
      - pycryptodome==3.22.0
      - pycryptodomex==3.22.0
      - pykeepass==3.1.1
      - pyotp==2.9.0
      - pytest==8.3.5
      - python-dateutil==2.9.0.post0
      - pytz==2025.2
      - rfc3986==1.5.0
      - six==1.17.0
      - tomli==2.2.1
      - tzdata==2025.2
prefix: /opt/conda/envs/hibpcli

tests/test_cli.py::test_password_subcommand_for_leaked_password tests/test_cli.py::test_password_subcommand_for_safe_password tests/test_cli.py::test_password_subcommand_with_prompt
tests/test_cli.py::test_keepass_subcommand_returns_leaked_entry tests/test_cli.py::test_keepass_subcommand_returns_all_ok tests/test_cli.py::test_keepass_subcommand_with_path_option tests/test_cli.py::test_keepass_subcommand_with_path_and_password_options
hibpcli/cli.py README.md CHANGELOG.md
hibpcli/cli.py README.md CHANGELOG.md