From 8f7c714265c7644c818a93fbc7928fc6b4d1c30e Mon Sep 17 00:00:00 2001 From: Jason Gunthorpe Date: Thu, 28 May 2020 16:00:10 -0300 Subject: Add cms-oauth This is a command line program to get the OAUTH tokens from the credential server. It is intended to fit into the 'call a program to get the token' methodology that several tools are implementing. Several options are provided to format the token and a built in SMTP protocol tests that the server is working properly. Signed-off-by: Jason Gunthorpe --- setup.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index cfa9f50..1c90fd7 100755 --- a/setup.py +++ b/setup.py @@ -25,7 +25,10 @@ setup( license='GPL', packages=['cloud_mdir_sync'], entry_points={ - 'console_scripts': ['cloud-mdir-sync=cloud_mdir_sync.main:main'], + 'console_scripts': [ + 'cloud-mdir-sync=cloud_mdir_sync.main:main', + 'cms-oauth=cloud_mdir_sync.cms_oauth_main:main' + ], }, python_requires=">=3.6", install_requires=[ -- cgit v1.2.3