licos-platform-cli 0.2.3__tar.gz → 0.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.
- {licos_platform_cli-0.2.3 → licos_platform_cli-0.2.4}/PKG-INFO +2 -2
- {licos_platform_cli-0.2.3 → licos_platform_cli-0.2.4}/pyproject.toml +2 -2
- {licos_platform_cli-0.2.3 → licos_platform_cli-0.2.4}/src/licos_platform_cli/help_commands.py +1 -2
- {licos_platform_cli-0.2.3 → licos_platform_cli-0.2.4}/tests/test_cli.py +1 -0
- {licos_platform_cli-0.2.3 → licos_platform_cli-0.2.4}/.gitignore +0 -0
- {licos_platform_cli-0.2.3 → licos_platform_cli-0.2.4}/src/licos_platform_cli/__init__.py +0 -0
- {licos_platform_cli-0.2.3 → licos_platform_cli-0.2.4}/src/licos_platform_cli/database_commands.py +0 -0
- {licos_platform_cli-0.2.3 → licos_platform_cli-0.2.4}/src/licos_platform_cli/main.py +0 -0
- {licos_platform_cli-0.2.3 → licos_platform_cli-0.2.4}/src/licos_platform_cli/storage_commands.py +0 -0
|
@@ -4,11 +4,11 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "licos-platform-cli"
|
|
7
|
-
version = "0.2.
|
|
7
|
+
version = "0.2.4"
|
|
8
8
|
description = "LICOS platform CLI"
|
|
9
9
|
requires-python = ">=3.10"
|
|
10
10
|
dependencies = [
|
|
11
|
-
"licos-platform-sdk>=0.2.
|
|
11
|
+
"licos-platform-sdk>=0.2.3",
|
|
12
12
|
]
|
|
13
13
|
|
|
14
14
|
[project.scripts]
|
{licos_platform_cli-0.2.3 → licos_platform_cli-0.2.4}/src/licos_platform_cli/help_commands.py
RENAMED
|
@@ -128,7 +128,7 @@ STORAGE_HELP = {
|
|
|
128
128
|
DATABASE_HELP = {
|
|
129
129
|
"topic": "database",
|
|
130
130
|
"description": "Runtime database data-plane helpers for structured data CRUD, filtering, pagination, aggregation, transactions, and RPC.",
|
|
131
|
-
"runtime":
|
|
131
|
+
"runtime": RUNTIME_ENV,
|
|
132
132
|
"rules": [
|
|
133
133
|
"Use SDK from server/runtime code; do not call from browser bundles.",
|
|
134
134
|
"Do not ask for database host, port, username, password, or direct database URL.",
|
|
@@ -280,4 +280,3 @@ def add_help_parser(subparsers: argparse._SubParsersAction[argparse.ArgumentPars
|
|
|
280
280
|
help_parser.add_argument("topic", nargs="?", choices=sorted(HELP_TOPICS), help="Help topic")
|
|
281
281
|
help_parser.add_argument("command", nargs="?", help="Optional command name inside the topic")
|
|
282
282
|
_set_handler(help_parser, _cmd_help)
|
|
283
|
-
|
|
@@ -68,6 +68,7 @@ class PlatformCliTests(unittest.TestCase):
|
|
|
68
68
|
self.assertIn("python", payload["sdk"])
|
|
69
69
|
self.assertIn("node", payload["sdk"])
|
|
70
70
|
self.assertIn("eq", payload["filters"]["operators"])
|
|
71
|
+
self.assertNotIn("LICOS_DATABASE_ENVIRONMENT", {item["name"] for item in payload["runtime"]})
|
|
71
72
|
|
|
72
73
|
def test_storage_files_wraps_sdk_and_outputs_json(self) -> None:
|
|
73
74
|
with mock.patch.object(storage_commands.storage, "list_files", return_value=[{"id": "file-1"}]) as list_files:
|
|
File without changes
|
|
File without changes
|
{licos_platform_cli-0.2.3 → licos_platform_cli-0.2.4}/src/licos_platform_cli/database_commands.py
RENAMED
|
File without changes
|
|
File without changes
|
{licos_platform_cli-0.2.3 → licos_platform_cli-0.2.4}/src/licos_platform_cli/storage_commands.py
RENAMED
|
File without changes
|