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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: blog-cli
3
- Version: 0.4.3
3
+ Version: 0.4.4
4
4
  Summary: Agent-friendly CLI for managing a personal site. Articles, projects, services, media, and a bundled ChatGPT/Codex skill.
5
5
  Author: tanaka-mambinge
6
6
  License: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "blog-cli"
7
- version = "0.4.3"
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"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: blog-cli
3
- Version: 0.4.3
3
+ Version: 0.4.4
4
4
  Summary: Agent-friendly CLI for managing a personal site. Articles, projects, services, media, and a bundled ChatGPT/Codex skill.
5
5
  Author: tanaka-mambinge
6
6
  License: MIT
@@ -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/{service['slug']}"
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/web"
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/web"
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