thoughtleaders-cli 0.6.4__tar.gz → 0.6.5__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.
Files changed (68) hide show
  1. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/.claude-plugin/plugin.json +1 -1
  2. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/PKG-INFO +1 -1
  3. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/pyproject.toml +1 -1
  4. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/src/tl_cli/__init__.py +1 -1
  5. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/src/tl_cli/commands/describe.py +11 -0
  6. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/uv.lock +1 -1
  7. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/.claude-plugin/marketplace.json +0 -0
  8. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/.github/workflows/python-publish.yml +0 -0
  9. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/.gitignore +0 -0
  10. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/AGENTS.md +0 -0
  11. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/CLAUDE.md +0 -0
  12. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/LICENSE +0 -0
  13. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/README.md +0 -0
  14. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/agents/tl-analyst.md +0 -0
  15. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/commands/tl-balance.md +0 -0
  16. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/commands/tl-reports.md +0 -0
  17. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/commands/tl-sponsorships.md +0 -0
  18. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/commands/tl.md +0 -0
  19. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/docs/architecture.md +0 -0
  20. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/hooks/hooks.json +0 -0
  21. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/hooks/scripts/post-usage.sh +0 -0
  22. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/hooks/scripts/pre-check.sh +0 -0
  23. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/skills/tl/SKILL.md +0 -0
  24. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/skills/tl/references/business-glossary.md +0 -0
  25. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/skills/tl/references/elasticsearch-schema.md +0 -0
  26. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/skills/tl/references/firebolt-schema.md +0 -0
  27. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/skills/tl/references/postgres-schema.md +0 -0
  28. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/src/tl_cli/_completions.py +0 -0
  29. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/src/tl_cli/auth/__init__.py +0 -0
  30. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/src/tl_cli/auth/commands.py +0 -0
  31. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/src/tl_cli/auth/login.py +0 -0
  32. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/src/tl_cli/auth/pkce.py +0 -0
  33. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/src/tl_cli/auth/token_store.py +0 -0
  34. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/src/tl_cli/client/__init__.py +0 -0
  35. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/src/tl_cli/client/errors.py +0 -0
  36. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/src/tl_cli/client/http.py +0 -0
  37. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/src/tl_cli/commands/__init__.py +0 -0
  38. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/src/tl_cli/commands/ask.py +0 -0
  39. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/src/tl_cli/commands/balance.py +0 -0
  40. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/src/tl_cli/commands/brands.py +0 -0
  41. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/src/tl_cli/commands/changelog.py +0 -0
  42. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/src/tl_cli/commands/channels.py +0 -0
  43. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/src/tl_cli/commands/comments.py +0 -0
  44. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/src/tl_cli/commands/db.py +0 -0
  45. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/src/tl_cli/commands/deals.py +0 -0
  46. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/src/tl_cli/commands/doctor.py +0 -0
  47. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/src/tl_cli/commands/matches.py +0 -0
  48. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/src/tl_cli/commands/proposals.py +0 -0
  49. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/src/tl_cli/commands/recommender.py +0 -0
  50. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/src/tl_cli/commands/reports.py +0 -0
  51. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/src/tl_cli/commands/schema.py +0 -0
  52. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/src/tl_cli/commands/setup.py +0 -0
  53. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/src/tl_cli/commands/snapshots.py +0 -0
  54. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/src/tl_cli/commands/sponsorships.py +0 -0
  55. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/src/tl_cli/commands/uploads.py +0 -0
  56. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/src/tl_cli/commands/whoami.py +0 -0
  57. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/src/tl_cli/config.py +0 -0
  58. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/src/tl_cli/filters.py +0 -0
  59. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/src/tl_cli/hints.py +0 -0
  60. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/src/tl_cli/main.py +0 -0
  61. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/src/tl_cli/output/__init__.py +0 -0
  62. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/src/tl_cli/output/formatter.py +0 -0
  63. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/src/tl_cli/self_update.py +0 -0
  64. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/tests/__init__.py +0 -0
  65. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/tests/test_auth.py +0 -0
  66. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/tests/test_filters.py +0 -0
  67. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/tests/test_output.py +0 -0
  68. {thoughtleaders_cli-0.6.4 → thoughtleaders_cli-0.6.5}/tests/test_sponsorships.py +0 -0
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tl-cli",
3
- "version": "0.6.4",
3
+ "version": "0.6.5",
4
4
  "description": "ThoughtLeaders CLI — query sponsorship deals, channels, brands, uploads, and intelligence from the terminal",
5
5
  "author": {
6
6
  "name": "ThoughtLeaders",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: thoughtleaders-cli
3
- Version: 0.6.4
3
+ Version: 0.6.5
4
4
  Summary: ThoughtLeaders CLI — query sponsorship data, channels, brands, and intelligence
5
5
  Project-URL: Homepage, https://thoughtleaders.io
6
6
  Project-URL: Repository, https://github.com/ThoughtLeaders-io/thoughtleaders-cli
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "thoughtleaders-cli"
7
- version = "0.6.4"
7
+ version = "0.6.5"
8
8
  description = "ThoughtLeaders CLI — query sponsorship data, channels, brands, and intelligence"
9
9
  readme = "README.md"
10
10
  license = "MIT"
@@ -1,3 +1,3 @@
1
1
  """ThoughtLeaders CLI — query sponsorship data, channels, brands, and intelligence."""
2
2
 
3
- __version__ = "0.6.4"
3
+ __version__ = "0.6.5"
@@ -67,6 +67,17 @@ def show_cmd(
67
67
  """
68
68
  fmt = detect_format(json_output, False, False, toon_output)
69
69
 
70
+ if resource in {"channels", "brands"}:
71
+ notice = (
72
+ f"Examine the database schema with `tl schema pg` and then perform "
73
+ f"a `tl db pg` query on {resource}."
74
+ )
75
+ if fmt == "json":
76
+ print(json.dumps({"resource": resource, "notice": notice}, indent=2))
77
+ else:
78
+ console.print(notice)
79
+ return
80
+
70
81
  client = get_client()
71
82
  try:
72
83
  data = client.get(f"/describe/{resource}")
@@ -388,7 +388,7 @@ wheels = [
388
388
 
389
389
  [[package]]
390
390
  name = "thoughtleaders-cli"
391
- version = "0.6.4"
391
+ version = "0.6.5"
392
392
  source = { editable = "." }
393
393
  dependencies = [
394
394
  { name = "authlib" },