blog-cli 0.4.3__tar.gz → 0.4.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {blog_cli-0.4.3 → blog_cli-0.4.4}/PKG-INFO +1 -1
- {blog_cli-0.4.3 → blog_cli-0.4.4}/pyproject.toml +1 -1
- {blog_cli-0.4.3 → blog_cli-0.4.4}/src/blog_cli.egg-info/PKG-INFO +1 -1
- {blog_cli-0.4.3 → blog_cli-0.4.4}/src/personal_cli/cli.py +1 -1
- {blog_cli-0.4.3 → blog_cli-0.4.4}/tests/test_cli.py +2 -2
- {blog_cli-0.4.3 → blog_cli-0.4.4}/README.md +0 -0
- {blog_cli-0.4.3 → blog_cli-0.4.4}/setup.cfg +0 -0
- {blog_cli-0.4.3 → blog_cli-0.4.4}/src/blog_cli.egg-info/SOURCES.txt +0 -0
- {blog_cli-0.4.3 → blog_cli-0.4.4}/src/blog_cli.egg-info/dependency_links.txt +0 -0
- {blog_cli-0.4.3 → blog_cli-0.4.4}/src/blog_cli.egg-info/entry_points.txt +0 -0
- {blog_cli-0.4.3 → blog_cli-0.4.4}/src/blog_cli.egg-info/requires.txt +0 -0
- {blog_cli-0.4.3 → blog_cli-0.4.4}/src/blog_cli.egg-info/top_level.txt +0 -0
- {blog_cli-0.4.3 → blog_cli-0.4.4}/src/personal_cli/__init__.py +0 -0
- {blog_cli-0.4.3 → blog_cli-0.4.4}/src/personal_cli/__main__.py +0 -0
- {blog_cli-0.4.3 → blog_cli-0.4.4}/src/personal_cli/client.py +0 -0
- {blog_cli-0.4.3 → blog_cli-0.4.4}/src/personal_cli/credentials.py +0 -0
- {blog_cli-0.4.3 → blog_cli-0.4.4}/src/personal_cli/docker_keyring.py +0 -0
- {blog_cli-0.4.3 → blog_cli-0.4.4}/src/personal_cli/formatting.py +0 -0
- {blog_cli-0.4.3 → blog_cli-0.4.4}/src/personal_cli/setup_server.py +0 -0
- {blog_cli-0.4.3 → blog_cli-0.4.4}/tests/test_client.py +0 -0
- {blog_cli-0.4.3 → blog_cli-0.4.4}/tests/test_setup_server.py +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "blog-cli"
|
|
7
|
-
version = "0.4.
|
|
7
|
+
version = "0.4.4"
|
|
8
8
|
description = "Agent-friendly CLI for managing a personal site. Articles, projects, services, media, and a bundled ChatGPT/Codex skill."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.13"
|
|
@@ -73,7 +73,7 @@ def _with_article_url(article: dict) -> dict:
|
|
|
73
73
|
|
|
74
74
|
|
|
75
75
|
def _service_url(service: dict) -> str:
|
|
76
|
-
return f"{_site_url()}/services
|
|
76
|
+
return f"{_site_url()}/services?service={service['slug']}"
|
|
77
77
|
|
|
78
78
|
|
|
79
79
|
def _with_service_url(service: dict) -> dict:
|
|
@@ -345,7 +345,7 @@ def test_service_cli_lifecycle(monkeypatch, runner: CliRunner, client: FakeApiCl
|
|
|
345
345
|
assert create_result.exit_code == 0
|
|
346
346
|
created = json.loads(create_result.stdout)
|
|
347
347
|
assert created["slug"] == "web"
|
|
348
|
-
assert created["url"] == "http://testsite/services
|
|
348
|
+
assert created["url"] == "http://testsite/services?service=web"
|
|
349
349
|
assert created["types"] == ["Static websites", "Web apps with a database"]
|
|
350
350
|
assert created["offerings"][0]["title"] == "Static websites"
|
|
351
351
|
|
|
@@ -355,7 +355,7 @@ def test_service_cli_lifecycle(monkeypatch, runner: CliRunner, client: FakeApiCl
|
|
|
355
355
|
|
|
356
356
|
list_result = runner.invoke(app, ["service", "list", "--category", "Web", "--json"])
|
|
357
357
|
assert list_result.exit_code == 0
|
|
358
|
-
assert json.loads(list_result.stdout)[0]["url"] == "http://testsite/services
|
|
358
|
+
assert json.loads(list_result.stdout)[0]["url"] == "http://testsite/services?service=web"
|
|
359
359
|
|
|
360
360
|
|
|
361
361
|
def test_service_cli_does_not_expose_homepage_options(runner: CliRunner) -> None:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|