diff --git a/lookatme/__main__.py b/lookatme/__main__.py
index a42b1d7..78d5101 100644
--- a/lookatme/__main__.py
+++ b/lookatme/__main__.py
@@ -57,6 +57,7 @@ from lookatme.schemas import StyleSchema
     is_flag=True,
     default=False,
 )
+@click.version_option(lookatme.__version__)
 @click.argument(
     "input_files",
     type=click.File("r"),

add --version flag to CLI
```
lookatme --version
0.4.0
```
diff --git a/tests/test_cli.py b/tests/test_cli.py
index e480bd0..b3be2f1 100644
--- a/tests/test_cli.py
+++ b/tests/test_cli.py
@@ -6,6 +6,7 @@ Test the main CLI
 from click.testing import CliRunner
 
 
+import lookatme
 from lookatme.__main__ import main
 
 
@@ -22,3 +23,11 @@ def test_dump_styles_unicode():
     res = run_cmd("--dump-styles")
     assert res.exit_code == 0
     assert "█" in res.output
+
+
+def test_version():
+    """Test the version option
+    """
+    res = run_cmd("--version")
+    assert res.exit_code == 0
+    assert lookatme.__version__ in res.output

pip install -e .
parse_log_pytest
requirements.txt
pytest pytest-xdist pytest-mock pytest-cov
3.7
requirements.txt
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
certifi @ file:///croot/certifi_1671487769961/work/certifi
click==7.1.2
coverage==7.2.7
exceptiongroup==1.2.2
execnet==2.0.2
importlib-metadata==6.7.0
iniconfig==2.0.0
-e git+https://github.com/d0c-s4vage/lookatme.git@de10fe43475e72ba3ee497feb8670c1e89c9113f#egg=lookatme
marshmallow==3.19.0
mistune==0.8.4
packaging==24.0
pluggy==1.2.0
Pygments==2.17.2
pytest==7.4.4
pytest-cov==4.1.0
pytest-mock==3.11.1
pytest-xdist==3.5.0
PyYAML==5.4.1
tomli==2.0.1
typing_extensions==4.7.1
urwid==2.6.16
wcwidth==0.2.13
zipp==3.15.0

name: lookatme
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
  - certifi=2022.12.7=py37h06a4308_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=1.1.1w=h7f8727e_0
  - pip=22.3.1=py37h06a4308_0
  - python=3.7.16=h7a1cb2a_0
  - readline=8.2=h5eee18b_0
  - setuptools=65.6.3=py37h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - wheel=0.38.4=py37h06a4308_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - click==7.1.2
      - coverage==7.2.7
      - exceptiongroup==1.2.2
      - execnet==2.0.2
      - importlib-metadata==6.7.0
      - iniconfig==2.0.0
      - marshmallow==3.19.0
      - mistune==0.8.4
      - packaging==24.0
      - pluggy==1.2.0
      - pygments==2.17.2
      - pytest==7.4.4
      - pytest-cov==4.1.0
      - pytest-mock==3.11.1
      - pytest-xdist==3.5.0
      - pyyaml==5.4.1
      - tomli==2.0.1
      - typing-extensions==4.7.1
      - urwid==2.6.16
      - wcwidth==0.2.13
      - zipp==3.15.0
prefix: /opt/conda/envs/lookatme

tests/test_cli.py::test_version
tests/test_cli.py::test_dump_styles_unicode
lookatme/__main__.py
lookatme/__main__.py