Commit 26b2d0a2 authored by Laurent Peuch's avatar Laurent Peuch
Browse files

refactor: rename doctor_hg.py into main.py

parent ca8e2994db4e
......@@ -73,14 +73,14 @@ CLI pattern looks like:
::
GITLAB_TOKEN=... python3 doctor_hg.py [-h] [-a] [-i] [-m] [-n NUMBER] [-q QUERY] {fix-README,add-tox,add-pytest-deprecated-warnings-cmd,replace-set-attributes-by-set-cw,update-licence-dates}
GITLAB_TOKEN=... cube-doctor [-h] [-a] [-i] [-m] [-n NUMBER] [-q QUERY] {fix-README,add-tox,add-pytest-deprecated-warnings-cmd,replace-set-attributes-by-set-cw,update-licence-dates}
Example:
::
GITLAB_TOKEN=... python3 doctor_hg.py fix-README
GITLAB_TOKEN=... cube-doctor fix-README
This GITLAB_TOKEN is an heptapod/gitlab access token. You can manage yours here
https://forge.extranet.logilab.fr/-/profile/personal_access_tokens
......@@ -385,4 +385,4 @@ So, an example query to only select the activitystream could be done like this:
::
GITLAB_TOKEN=... python3 doctor_hg.py fix-README -q '?project doap:name "cubicweb-activitystream"'
GITLAB_TOKEN=... cube-doctor fix-README -q '?project doap:name "cubicweb-activitystream"'
......@@ -14,8 +14,8 @@ setup(
description="Keep the cubes in good shape!",
entry_points={
"console_scripts": [
"cube-doctor = cube_doctor.doctor_hg:main",
"cube-doctor-local = cube_doctor.doctor_hg:main_local",
"cube-doctor = cube_doctor.main:main",
"cube-doctor-local = cube_doctor.main:main_local",
]
},
packages=find_packages(),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment