From 2173d1b72edfaa6b188b8435f0ce1b1f07d62319 Mon Sep 17 00:00:00 2001
From: Erik Reid <erik.reid@geant.org>
Date: Mon, 31 May 2021 10:27:40 +0200
Subject: [PATCH] renamed cli console script

---
 brian_polling_manager/cli.py | 5 ++---
 docs/source/cli.rst          | 2 +-
 setup.py                     | 2 +-
 3 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/brian_polling_manager/cli.py b/brian_polling_manager/cli.py
index b2cc610..ea01e1a 100644
--- a/brian_polling_manager/cli.py
+++ b/brian_polling_manager/cli.py
@@ -5,8 +5,8 @@ required by BRIAN.
 
 .. code-block:: console
 
-    % python brian_polling_manager/cli.py --help
-    Usage: cli.py [OPTIONS]
+    % brian-polling-manager --help
+    Usage: brian-polling-manager [OPTIONS]
 
       Update BRIAN snmp checks based on Inventory Provider data.
 
@@ -15,7 +15,6 @@ required by BRIAN.
       --force / --no-force  update even if inventory hasn't been updated
       --help                Show this message and exit.
 
-
 The required configuration file must be
 formatted according to the following schema:
 
diff --git a/docs/source/cli.rst b/docs/source/cli.rst
index 0255ffa..128c1a0 100644
--- a/docs/source/cli.rst
+++ b/docs/source/cli.rst
@@ -1,5 +1,5 @@
 
-cli
+brian-polling-manager
 ===================================================
 
 .. automodule:: brian_polling_manager.cli
diff --git a/setup.py b/setup.py
index 6e52a00..f53e1c4 100644
--- a/setup.py
+++ b/setup.py
@@ -15,7 +15,7 @@ setup(
     ],
     entry_points={
         'console_scripts': [
-            'cli=brian_polling_manager.cli:main'
+            'brian-polling-manager=brian_polling_manager.cli:main'
         ]
     },
 )
-- 
GitLab