Skip to content

Commit 51b8e08

Browse files
committed
refactor: rename the project 'scim2-cli'
1 parent 6df8c83 commit 51b8e08

7 files changed

Lines changed: 20 additions & 19 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# scim-cli
1+
# scim2-cli
22

33
A scim utility command line.

doc/conf.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from importlib import metadata
55

66
sys.path.insert(0, os.path.abspath(".."))
7-
sys.path.insert(0, os.path.abspath("../scim_cli"))
7+
sys.path.insert(0, os.path.abspath("../scim2_cli"))
88

99
# -- General configuration ------------------------------------------------
1010

@@ -21,7 +21,7 @@
2121

2222
templates_path = ["_templates"]
2323
master_doc = "index"
24-
project = "scim-cli"
24+
project = "scim2-cli"
2525
year = datetime.datetime.now().strftime("%Y")
2626
copyright = f"{year}, Yaal Coop"
2727
author = "Yaal Coop"
@@ -31,7 +31,7 @@
3131
".md": "markdown",
3232
}
3333

34-
version = metadata.version("scim_cli")
34+
version = metadata.version("scim2_cli")
3535
language = "en"
3636
exclude_patterns = []
3737
pygments_style = "sphinx"
@@ -46,11 +46,11 @@
4646

4747
html_theme = "shibuya"
4848
# html_static_path = ["_static"]
49-
html_baseurl = "https://scim-cli.readthedocs.io"
49+
html_baseurl = "https://scim2-cli.readthedocs.io"
5050
html_theme_options = {
5151
"globaltoc_expand_depth": 3,
5252
"accent_color": "orange",
53-
"github_url": "https://github.com/yaal-coop/scim-cli",
53+
"github_url": "https://github.com/yaal-coop/scim2-cli",
5454
"mastodon_url": "https://toot.aquilenet.fr/@yaal",
5555
"nav_links": [
5656
{
@@ -73,25 +73,25 @@
7373
},
7474
{"title": "pydantic-scim2", "url": "https://pydantic-scim2.readthedocs.io"},
7575
{
76-
"title": "httpx-scim-client",
77-
"url": "https://httpx-scim-client.readthedocs.io",
76+
"title": "httpx-scim2-client",
77+
"url": "https://httpx-scim2-client.readthedocs.io",
7878
},
7979
],
8080
}
8181

8282
# -- Options for manual page output ---------------------------------------
8383

84-
man_pages = [(master_doc, "scim-cli", "scim-cli Documentation", [author], 1)]
84+
man_pages = [(master_doc, "scim2-cli", "scim2-cli Documentation", [author], 1)]
8585

8686
# -- Options for Texinfo output -------------------------------------------
8787

8888
texinfo_documents = [
8989
(
9090
master_doc,
91-
"scim_cli",
92-
"scim_cli Documentation",
91+
"scim2_cli",
92+
"scim2_cli Documentation",
9393
author,
94-
"scim_cli",
94+
"scim2_cli",
9595
"One line description of project.",
9696
"Miscellaneous",
9797
)

doc/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
.. danger ::
55
6-
scim-cli is in very early development, there is not much to use yet!
6+
scim2-cli is in very early development, there is not much to use yet!
77
88
Table of contents
99
-----------------

doc/reference.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ Reference
33

44
.. _cli:
55

6-
.. click:: scim_cli:cli
6+
.. click:: scim2_cli:cli
77
:prog: scim
88
:nested: full

pyproject.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires = ["poetry-core"]
33
build-backend = "poetry.core.masonry.api"
44

55
[tool.poetry]
6-
name = "scim-cli"
6+
name = "scim2-cli"
77
version = "0.1.0"
88
description = " SCIM application development CLI"
99
authors = ["Yaal Coop <contact@yaal.coop>"]
@@ -45,11 +45,12 @@ sphinx-click = "^6.0.0"
4545
myst-parser = "^3.0.1"
4646

4747
[tool.poetry.scripts]
48-
scim = "scim_cli:cli"
48+
scim = "scim2_cli:cli"
49+
scim2 = "scim2_cli:cli"
4950

5051
[tool.coverage.run]
5152
source = [
52-
"scim_cli",
53+
"scim2_cli",
5354
"tests",
5455
]
5556
omit = [".tox/*"]

scim_cli/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import requests
55
from sphinx_click.rst_to_ansi_formatter import make_rst_to_ansi_formatter
66

7-
DOC_URL = "https://scim-cli.readthedocs.io/"
7+
DOC_URL = "https://scim2-cli.readthedocs.io/"
88
BASE_HEADERS = {
99
"Accept": "application/scim+json",
1010
"Content-Type": "application/scim+json",

tests/test_cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import json
22

3-
from scim_cli import cli
3+
from scim2_cli import cli
44

55

66
def test_help(runner):

0 commit comments

Comments
 (0)