aiel-cli 1.2.2__tar.gz → 1.2.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.
- {aiel_cli-1.2.2 → aiel_cli-1.2.4}/PKG-INFO +1 -1
- aiel_cli-1.2.4/index.py +4 -0
- {aiel_cli-1.2.2 → aiel_cli-1.2.4}/pyproject.toml +2 -2
- {aiel_cli-1.2.2/src/aiel → aiel_cli-1.2.4/src/aiel_cli}/cli_utils.py +1 -1
- {aiel_cli-1.2.2/src/aiel → aiel_cli-1.2.4/src/aiel_cli}/commands/auth.py +1 -1
- {aiel_cli-1.2.2/src/aiel → aiel_cli-1.2.4/src/aiel_cli}/commands/config.py +1 -1
- {aiel_cli-1.2.2/src/aiel → aiel_cli-1.2.4/src/aiel_cli}/commands/files.py +1 -1
- {aiel_cli-1.2.2/src/aiel → aiel_cli-1.2.4/src/aiel_cli}/commands/info.py +1 -1
- {aiel_cli-1.2.2/src/aiel → aiel_cli-1.2.4/src/aiel_cli}/commands/integrations.py +1 -1
- {aiel_cli-1.2.2/src/aiel → aiel_cli-1.2.4/src/aiel_cli}/context/user_context.py +0 -1
- {aiel_cli-1.2.2 → aiel_cli-1.2.4}/tests/test_cli_routes.py +2 -2
- {aiel_cli-1.2.2 → aiel_cli-1.2.4}/tests/test_internal_modules.py +8 -8
- aiel_cli-1.2.2/index.py +0 -4
- {aiel_cli-1.2.2 → aiel_cli-1.2.4}/.aiel/index.json +0 -0
- {aiel_cli-1.2.2 → aiel_cli-1.2.4}/.aiel/integrations.json +0 -0
- {aiel_cli-1.2.2 → aiel_cli-1.2.4}/.aiel/state.json +0 -0
- {aiel_cli-1.2.2 → aiel_cli-1.2.4}/.coverage +0 -0
- {aiel_cli-1.2.2 → aiel_cli-1.2.4}/.github/workflows/publish.yml +0 -0
- {aiel_cli-1.2.2 → aiel_cli-1.2.4}/LICENSE +0 -0
- {aiel_cli-1.2.2 → aiel_cli-1.2.4}/README.md +0 -0
- {aiel_cli-1.2.2/src/aiel → aiel_cli-1.2.4/src/aiel_cli}/__init__.py +0 -0
- {aiel_cli-1.2.2/src/aiel → aiel_cli-1.2.4/src/aiel_cli}/auth/api.py +0 -0
- {aiel_cli-1.2.2/src/aiel → aiel_cli-1.2.4/src/aiel_cli}/auth/credentials.py +0 -0
- {aiel_cli-1.2.2/src/aiel → aiel_cli-1.2.4/src/aiel_cli}/cli.py +0 -0
- {aiel_cli-1.2.2/src/aiel → aiel_cli-1.2.4/src/aiel_cli}/commands/.old/auth_doc.py +0 -0
- {aiel_cli-1.2.2/src/aiel → aiel_cli-1.2.4/src/aiel_cli}/commands/.old/config copy.py +0 -0
- {aiel_cli-1.2.2/src/aiel → aiel_cli-1.2.4/src/aiel_cli}/commands/.old/files copy.py +0 -0
- {aiel_cli-1.2.2/src/aiel → aiel_cli-1.2.4/src/aiel_cli}/commands/.old/info copy.py +0 -0
- {aiel_cli-1.2.2/src/aiel → aiel_cli-1.2.4/src/aiel_cli}/commands/.old/repo copy.py +0 -0
- {aiel_cli-1.2.2/src/aiel → aiel_cli-1.2.4/src/aiel_cli}/commands/_index.py +0 -0
- {aiel_cli-1.2.2/src/aiel → aiel_cli-1.2.4/src/aiel_cli}/commands/repo.py +0 -0
- {aiel_cli-1.2.2/src/aiel → aiel_cli-1.2.4/src/aiel_cli}/config.py +0 -0
- {aiel_cli-1.2.2/src/aiel → aiel_cli-1.2.4/src/aiel_cli}/data_plane.py +0 -0
- {aiel_cli-1.2.2/src/aiel → aiel_cli-1.2.4/src/aiel_cli}/errors.py +0 -0
- {aiel_cli-1.2.2/src/aiel → aiel_cli-1.2.4/src/aiel_cli}/integration_plane.py +0 -0
- {aiel_cli-1.2.2/src/aiel → aiel_cli-1.2.4/src/aiel_cli}/roadmap.py +0 -0
- {aiel_cli-1.2.2/src/aiel → aiel_cli-1.2.4/src/aiel_cli}/utilities.py +0 -0
- {aiel_cli-1.2.2/src/aiel → aiel_cli-1.2.4/src/aiel_cli}/utils/__init__.py +0 -0
- {aiel_cli-1.2.2/src/aiel → aiel_cli-1.2.4/src/aiel_cli}/utils/format_integrations.py +0 -0
- {aiel_cli-1.2.2 → aiel_cli-1.2.4}/tests/data/test_profile.json +0 -0
- {aiel_cli-1.2.2 → aiel_cli-1.2.4}/workflows/publish.yml +0 -0
aiel_cli-1.2.4/index.py
ADDED
|
@@ -10,7 +10,7 @@ from rich.table import Table
|
|
|
10
10
|
from ..auth.api import _validate_token
|
|
11
11
|
from ..cli_utils import friendly_errors
|
|
12
12
|
|
|
13
|
-
from
|
|
13
|
+
from aiel_cli.auth.credentials import (
|
|
14
14
|
CREDENTIALS_PATH,
|
|
15
15
|
delete_profile,
|
|
16
16
|
get_current_base_url,
|
|
@@ -47,7 +47,7 @@ from rich.console import Console
|
|
|
47
47
|
from rich.panel import Panel
|
|
48
48
|
|
|
49
49
|
from ..data_plane import _state
|
|
50
|
-
from
|
|
50
|
+
from aiel_cli.auth.credentials import list_profiles
|
|
51
51
|
from ..utilities import format_file_tree, default_workspace
|
|
52
52
|
from ..cli_utils import friendly_errors
|
|
53
53
|
|
|
@@ -30,7 +30,7 @@ from __future__ import annotations
|
|
|
30
30
|
import typer
|
|
31
31
|
from rich.console import Console
|
|
32
32
|
|
|
33
|
-
from
|
|
33
|
+
from aiel_cli.auth.credentials import _current_profile, _get_me, _get_profile, list_profiles
|
|
34
34
|
from ..utilities import format_workspaces_with_projects, pick_slug_name, profile_is_set, workspace_is_set, default_workspace
|
|
35
35
|
from ..cli_utils import friendly_errors
|
|
36
36
|
|
|
@@ -7,7 +7,7 @@ from rich.console import Console
|
|
|
7
7
|
from rich.panel import Panel
|
|
8
8
|
|
|
9
9
|
from ..data_plane import _state
|
|
10
|
-
from
|
|
10
|
+
from aiel_cli.auth.credentials import list_profiles
|
|
11
11
|
from ..utilities import format_file_tree, default_workspace
|
|
12
12
|
from ..cli_utils import friendly_errors
|
|
13
13
|
from ..utils.format_integrations import (
|
|
@@ -7,8 +7,8 @@ from typing import Any, Dict
|
|
|
7
7
|
import pytest
|
|
8
8
|
from typer.testing import CliRunner
|
|
9
9
|
|
|
10
|
-
from
|
|
11
|
-
from
|
|
10
|
+
from aiel_cli import cli
|
|
11
|
+
from aiel_cli.commands import auth, config as config_cmds, files, info, repo
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
@pytest.fixture(scope="session")
|
|
@@ -12,13 +12,13 @@ import pytest
|
|
|
12
12
|
import typer
|
|
13
13
|
from typer.testing import CliRunner
|
|
14
14
|
|
|
15
|
-
from
|
|
16
|
-
from
|
|
17
|
-
from
|
|
18
|
-
from
|
|
19
|
-
from
|
|
20
|
-
from
|
|
21
|
-
from
|
|
15
|
+
from aiel_cli import cli, data_plane, utilities
|
|
16
|
+
from aiel_cli.auth import credentials
|
|
17
|
+
from aiel_cli.auth import api as auth_api
|
|
18
|
+
from aiel_cli.cli_utils import friendly_errors
|
|
19
|
+
from aiel_cli.commands import auth as auth_cmds, config as config_cmds, info as info_cmds
|
|
20
|
+
from aiel_cli.config import settings
|
|
21
|
+
from aiel_cli.errors import CliError
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
class FakeKeyring:
|
|
@@ -615,7 +615,7 @@ def test_info_workspace_missing(monkeypatch):
|
|
|
615
615
|
|
|
616
616
|
|
|
617
617
|
def test_version_fallback(monkeypatch):
|
|
618
|
-
import
|
|
618
|
+
import aiel_cli.__init__ as aiel_init
|
|
619
619
|
|
|
620
620
|
def raise_pkg(_):
|
|
621
621
|
raise PackageNotFoundError()
|
aiel_cli-1.2.2/index.py
DELETED
|
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
|
|
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
|