ivon-cli 0.2.0__tar.gz → 0.2.1__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 (24) hide show
  1. {ivon_cli-0.2.0/src/ivon_cli.egg-info → ivon_cli-0.2.1}/PKG-INFO +1 -1
  2. ivon_cli-0.2.1/src/ivon_cli/__init__.py +3 -0
  3. {ivon_cli-0.2.0 → ivon_cli-0.2.1}/src/ivon_cli/main.py +10 -2
  4. {ivon_cli-0.2.0 → ivon_cli-0.2.1/src/ivon_cli.egg-info}/PKG-INFO +1 -1
  5. ivon_cli-0.2.0/src/ivon_cli/__init__.py +0 -3
  6. {ivon_cli-0.2.0 → ivon_cli-0.2.1}/MANIFEST.in +0 -0
  7. {ivon_cli-0.2.0 → ivon_cli-0.2.1}/README.md +0 -0
  8. {ivon_cli-0.2.0 → ivon_cli-0.2.1}/pyproject.toml +0 -0
  9. {ivon_cli-0.2.0 → ivon_cli-0.2.1}/setup.cfg +0 -0
  10. {ivon_cli-0.2.0 → ivon_cli-0.2.1}/src/ivon_cli/_tools_snapshot.json +0 -0
  11. {ivon_cli-0.2.0 → ivon_cli-0.2.1}/src/ivon_cli/api.py +0 -0
  12. {ivon_cli-0.2.0 → ivon_cli-0.2.1}/src/ivon_cli/cmds/__init__.py +0 -0
  13. {ivon_cli-0.2.0 → ivon_cli-0.2.1}/src/ivon_cli/cmds/auth.py +0 -0
  14. {ivon_cli-0.2.0 → ivon_cli-0.2.1}/src/ivon_cli/cmds/install.py +0 -0
  15. {ivon_cli-0.2.0 → ivon_cli-0.2.1}/src/ivon_cli/cmds/mcp.py +0 -0
  16. {ivon_cli-0.2.0 → ivon_cli-0.2.1}/src/ivon_cli/cmds/meta.py +0 -0
  17. {ivon_cli-0.2.0 → ivon_cli-0.2.1}/src/ivon_cli/config.py +0 -0
  18. {ivon_cli-0.2.0 → ivon_cli-0.2.1}/src/ivon_cli/data/ivon_meta_ads_skill.md +0 -0
  19. {ivon_cli-0.2.0 → ivon_cli-0.2.1}/src/ivon_cli/exit_codes.py +0 -0
  20. {ivon_cli-0.2.0 → ivon_cli-0.2.1}/src/ivon_cli.egg-info/SOURCES.txt +0 -0
  21. {ivon_cli-0.2.0 → ivon_cli-0.2.1}/src/ivon_cli.egg-info/dependency_links.txt +0 -0
  22. {ivon_cli-0.2.0 → ivon_cli-0.2.1}/src/ivon_cli.egg-info/entry_points.txt +0 -0
  23. {ivon_cli-0.2.0 → ivon_cli-0.2.1}/src/ivon_cli.egg-info/requires.txt +0 -0
  24. {ivon_cli-0.2.0 → ivon_cli-0.2.1}/src/ivon_cli.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ivon-cli
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: ivon CLI — Meta Ads connector commands + MCP access for the ivon autonomous marketing team
5
5
  Author: ivon (LemonTree Media)
6
6
  License: Proprietary
@@ -0,0 +1,3 @@
1
+ """ivon CLI."""
2
+
3
+ __version__ = "0.2.1"
@@ -4,9 +4,17 @@ from __future__ import annotations
4
4
 
5
5
  import sys
6
6
 
7
- import click
8
7
  import typer
9
8
 
9
+ # Catch the ClickException typer actually raises: typer ≥0.20 vendors click
10
+ # (typer._click) and drops the standalone `click` dependency; older typer
11
+ # uses the real package. Import from the same place typer does so the
12
+ # class identity matches in both worlds.
13
+ try:
14
+ from typer._click.exceptions import ClickException
15
+ except ImportError: # older typer — real click is guaranteed present
16
+ from click.exceptions import ClickException
17
+
10
18
  from . import __version__
11
19
  from .api import ApiError, NotLoggedIn, TransportError
12
20
  from .cmds import auth as auth_cmds
@@ -60,7 +68,7 @@ def main() -> int:
60
68
  return int(result) if isinstance(result, int) else exit_codes.OK
61
69
  except typer.Exit as exc:
62
70
  return int(exc.exit_code or 0)
63
- except click.ClickException as exc:
71
+ except ClickException as exc:
64
72
  # With standalone_mode=False Click re-raises usage errors instead of
65
73
  # rendering them — print the usual usage/error message ourselves.
66
74
  exc.show()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ivon-cli
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: ivon CLI — Meta Ads connector commands + MCP access for the ivon autonomous marketing team
5
5
  Author: ivon (LemonTree Media)
6
6
  License: Proprietary
@@ -1,3 +0,0 @@
1
- """ivon CLI."""
2
-
3
- __version__ = "0.2.0"
File without changes
File without changes
File without changes
File without changes
File without changes