diff --git a/aws_google_auth/__init__.py b/aws_google_auth/__init__.py
index 0ec8126..2163356 100644
--- a/aws_google_auth/__init__.py
+++ b/aws_google_auth/__init__.py
@@ -51,7 +51,7 @@ def exit_if_unsupported_python():
         sys.exit(1)
 
 
-def main(cli_args):
+def cli(cli_args):
     try:
         exit_if_unsupported_python()
 
@@ -201,6 +201,10 @@ def process_auth(args, config):
         amazon_client.print_export_line()
 
 
-if __name__ == '__main__':
+def main():
     cli_args = sys.argv[1:]
-    main(cli_args)
+    cli(cli_args)
+
+
+if __name__ == '__main__':
+    main()

main() takes exactly 1 argument (0 given)
I'm getting the following error, introduced in 48d22e4d62bb6e216cd8932739ea0be4735e2588 (Determined by `git bisect`). I don't have the time to dig right now, but I will later.

```
$ aws-google-auth --help 
Traceback (most recent call last):
  File "/Users/mide/virtualenv/aws-google-auth-dev/bin/aws-google-auth", line 11, in <module>
    load_entry_point('aws-google-auth', 'console_scripts', 'aws-google-auth')()
TypeError: main() takes exactly 1 argument (0 given)
```
diff --git a/aws_google_auth/tests/test_init.py b/aws_google_auth/tests/test_init.py
index 9a298a8..cd818d2 100644
--- a/aws_google_auth/tests/test_init.py
+++ b/aws_google_auth/tests/test_init.py
@@ -11,6 +11,20 @@ class TestInit(unittest.TestCase):
     def setUp(self):
         pass
 
+    @patch('aws_google_auth.cli', spec=True)
+    def test_main_method_has_no_parameters(self, mock_cli):
+        """
+        This is the entrypoint for the cli tool, and should require no parameters
+
+        :param mock_cli:
+        :return:
+        """
+
+        # Function under test
+        aws_google_auth.main()
+
+        self.assertTrue(mock_cli.called)
+
     @patch('aws_google_auth.exit_if_unsupported_python', spec=True)
     @patch('aws_google_auth.resolve_config', spec=True)
     @patch('aws_google_auth.process_auth', spec=True)
@@ -22,7 +36,7 @@ class TestInit(unittest.TestCase):
         aws_google_auth.resolve_config.return_value = mock_config
 
         # Function under test
-        aws_google_auth.main([])
+        aws_google_auth.cli([])
 
         self.assertTrue(exit_if_unsupported_python.called)
         self.assertTrue(resolve_config.called)

pip install -e .[dev]
parse_log_pytest
requirements.txt
pytest mock
apt-get update apt-get install -y gcc
3.9
requirements.txt
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
-e git+https://github.com/cevoaustralia/aws-google-auth.git@390e181516b02baf55bdf67296fe3437e7c8904a#egg=aws_google_auth
beautifulsoup4==4.13.3
boto3==1.37.23
botocore==1.37.23
certifi==2025.1.31
charset-normalizer==3.4.1
configparser==7.2.0
exceptiongroup==1.2.2
idna==3.10
iniconfig==2.1.0
jmespath==1.0.1
lxml==5.3.1
mock==5.2.0
packaging==24.2
pluggy==1.5.0
pytest==8.3.5
python-dateutil==2.9.0.post0
requests==2.32.3
s3transfer==0.11.4
six==1.17.0
soupsieve==2.6
tabulate==0.9.0
tomli==2.2.1
typing_extensions==4.13.0
tzlocal==5.3.1
urllib3==1.26.20

name: aws-google-auth
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
  - tzdata=2025a=h04d1e81_0
  - wheel=0.45.1=py39h06a4308_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - beautifulsoup4==4.13.3
      - boto3==1.37.23
      - botocore==1.37.23
      - certifi==2025.1.31
      - charset-normalizer==3.4.1
      - configparser==7.2.0
      - exceptiongroup==1.2.2
      - idna==3.10
      - iniconfig==2.1.0
      - jmespath==1.0.1
      - lxml==5.3.1
      - mock==5.2.0
      - packaging==24.2
      - pluggy==1.5.0
      - pytest==8.3.5
      - python-dateutil==2.9.0.post0
      - requests==2.32.3
      - s3transfer==0.11.4
      - six==1.17.0
      - soupsieve==2.6
      - tabulate==0.9.0
      - tomli==2.2.1
      - typing-extensions==4.13.0
      - tzlocal==5.3.1
      - urllib3==1.26.20
prefix: /opt/conda/envs/aws-google-auth

aws_google_auth/tests/test_init.py::TestInit::test_main_method_chaining aws_google_auth/tests/test_init.py::TestInit::test_main_method_has_no_parameters
aws_google_auth/tests/test_init.py::TestInit::test_process_auth_dont_resolve_alias aws_google_auth/tests/test_init.py::TestInit::test_process_auth_specified_role aws_google_auth/tests/test_init.py::TestInit::test_process_auth_standard aws_google_auth/tests/test_init.py::TestInit::test_process_auth_with_profile aws_google_auth/tests/test_init.py::TestInit::test_process_auth_with_saml_cache
aws_google_auth/__init__.py
aws_google_auth/__init__.py