oarepo-runtime 2.0.0.dev8__tar.gz → 2.0.0.dev10__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.
- {oarepo_runtime-2.0.0.dev8 → oarepo_runtime-2.0.0.dev10}/PKG-INFO +1 -1
- {oarepo_runtime-2.0.0.dev8 → oarepo_runtime-2.0.0.dev10}/oarepo_runtime/__init__.py +1 -1
- oarepo_runtime-2.0.0.dev10/oarepo_runtime/cli/__init__.py +27 -0
- {oarepo_runtime-2.0.0.dev8 → oarepo_runtime-2.0.0.dev10}/pyproject.toml +3 -0
- oarepo_runtime-2.0.0.dev8/oarepo_runtime/cli/__init__.py +0 -11
- {oarepo_runtime-2.0.0.dev8 → oarepo_runtime-2.0.0.dev10}/.gitignore +0 -0
- {oarepo_runtime-2.0.0.dev8 → oarepo_runtime-2.0.0.dev10}/LICENSE +0 -0
- {oarepo_runtime-2.0.0.dev8 → oarepo_runtime-2.0.0.dev10}/README.md +0 -0
- {oarepo_runtime-2.0.0.dev8 → oarepo_runtime-2.0.0.dev10}/oarepo_runtime/api.py +0 -0
- {oarepo_runtime-2.0.0.dev8 → oarepo_runtime-2.0.0.dev10}/oarepo_runtime/cli/search.py +0 -0
- {oarepo_runtime-2.0.0.dev8 → oarepo_runtime-2.0.0.dev10}/oarepo_runtime/config.py +0 -0
- {oarepo_runtime-2.0.0.dev8 → oarepo_runtime-2.0.0.dev10}/oarepo_runtime/ext.py +0 -0
- {oarepo_runtime-2.0.0.dev8 → oarepo_runtime-2.0.0.dev10}/oarepo_runtime/proxies.py +0 -0
- {oarepo_runtime-2.0.0.dev8 → oarepo_runtime-2.0.0.dev10}/oarepo_runtime/py.typed +0 -0
- {oarepo_runtime-2.0.0.dev8 → oarepo_runtime-2.0.0.dev10}/oarepo_runtime/records/__init__.py +0 -0
- {oarepo_runtime-2.0.0.dev8 → oarepo_runtime-2.0.0.dev10}/oarepo_runtime/records/drafts.py +0 -0
- {oarepo_runtime-2.0.0.dev8 → oarepo_runtime-2.0.0.dev10}/oarepo_runtime/records/mapping.py +0 -0
- {oarepo_runtime-2.0.0.dev8 → oarepo_runtime-2.0.0.dev10}/oarepo_runtime/records/pid_providers.py +0 -0
- {oarepo_runtime-2.0.0.dev8 → oarepo_runtime-2.0.0.dev10}/oarepo_runtime/records/systemfields/__init__.py +0 -0
- {oarepo_runtime-2.0.0.dev8 → oarepo_runtime-2.0.0.dev10}/oarepo_runtime/records/systemfields/mapping.py +0 -0
- {oarepo_runtime-2.0.0.dev8 → oarepo_runtime-2.0.0.dev10}/oarepo_runtime/records/systemfields/publication_status.py +0 -0
- {oarepo_runtime-2.0.0.dev8 → oarepo_runtime-2.0.0.dev10}/oarepo_runtime/resources/__init__.py +0 -0
- {oarepo_runtime-2.0.0.dev8 → oarepo_runtime-2.0.0.dev10}/oarepo_runtime/resources/config.py +0 -0
- {oarepo_runtime-2.0.0.dev8 → oarepo_runtime-2.0.0.dev10}/oarepo_runtime/services/__init__.py +0 -0
- {oarepo_runtime-2.0.0.dev8 → oarepo_runtime-2.0.0.dev10}/oarepo_runtime/services/config/__init__.py +0 -0
- {oarepo_runtime-2.0.0.dev8 → oarepo_runtime-2.0.0.dev10}/oarepo_runtime/services/config/components.py +0 -0
- {oarepo_runtime-2.0.0.dev8 → oarepo_runtime-2.0.0.dev10}/oarepo_runtime/services/config/link_conditions.py +0 -0
- {oarepo_runtime-2.0.0.dev8 → oarepo_runtime-2.0.0.dev10}/oarepo_runtime/services/config/permissions.py +0 -0
- {oarepo_runtime-2.0.0.dev8 → oarepo_runtime-2.0.0.dev10}/oarepo_runtime/services/facets/__init__.py +0 -0
- {oarepo_runtime-2.0.0.dev8 → oarepo_runtime-2.0.0.dev10}/oarepo_runtime/services/facets/params.py +0 -0
- {oarepo_runtime-2.0.0.dev8 → oarepo_runtime-2.0.0.dev10}/oarepo_runtime/services/records/__init__.py +0 -0
- {oarepo_runtime-2.0.0.dev8 → oarepo_runtime-2.0.0.dev10}/oarepo_runtime/services/records/links.py +0 -0
- {oarepo_runtime-2.0.0.dev8 → oarepo_runtime-2.0.0.dev10}/oarepo_runtime/services/records/mapping.py +0 -0
- {oarepo_runtime-2.0.0.dev8 → oarepo_runtime-2.0.0.dev10}/oarepo_runtime/services/results.py +0 -0
- {oarepo_runtime-2.0.0.dev8 → oarepo_runtime-2.0.0.dev10}/oarepo_runtime/services/schema/__init__.py +0 -0
- {oarepo_runtime-2.0.0.dev8 → oarepo_runtime-2.0.0.dev10}/oarepo_runtime/services/schema/i18n.py +0 -0
- {oarepo_runtime-2.0.0.dev8 → oarepo_runtime-2.0.0.dev10}/oarepo_runtime/services/schema/i18n_ui.py +0 -0
@@ -0,0 +1,27 @@
|
|
1
|
+
#
|
2
|
+
# Copyright (c) 2025 CESNET z.s.p.o.
|
3
|
+
#
|
4
|
+
# This file is a part of oarepo-runtime (see http://github.com/oarepo/oarepo-runtime).
|
5
|
+
#
|
6
|
+
# oarepo-runtime is free software; you can redistribute it and/or modify it
|
7
|
+
# under the terms of the MIT License; see LICENSE file for more details.
|
8
|
+
#
|
9
|
+
"""OAREPO Runtime CLI module."""
|
10
|
+
|
11
|
+
from __future__ import annotations
|
12
|
+
|
13
|
+
from importlib.metadata import entry_points
|
14
|
+
|
15
|
+
import click
|
16
|
+
|
17
|
+
from .search import init as search_init # noqa just to register it
|
18
|
+
|
19
|
+
|
20
|
+
@click.group
|
21
|
+
def oarepo() -> None:
|
22
|
+
"""OARepo commands. See invenio oarepo --help for details."""
|
23
|
+
|
24
|
+
|
25
|
+
# register additional commands to the oarepo group
|
26
|
+
for ep in entry_points(group="oarepo.cli"):
|
27
|
+
oarepo.add_command(ep.load())
|
@@ -31,6 +31,9 @@ oarepo_runtime = "oarepo_runtime.ext:OARepoRuntime"
|
|
31
31
|
[project.entry-points."invenio_base.apps"]
|
32
32
|
oarepo_runtime = "oarepo_runtime.ext:OARepoRuntime"
|
33
33
|
|
34
|
+
[project.entry-points."flask.commands"]
|
35
|
+
oarepo = "oarepo_runtime.cli:oarepo"
|
36
|
+
|
34
37
|
[tool.hatch.version]
|
35
38
|
path = "oarepo_runtime/__init__.py"
|
36
39
|
|
@@ -1,11 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# Copyright (c) 2025 CESNET z.s.p.o.
|
3
|
-
#
|
4
|
-
# This file is a part of oarepo-runtime (see http://github.com/oarepo/oarepo-runtime).
|
5
|
-
#
|
6
|
-
# oarepo-runtime is free software; you can redistribute it and/or modify it
|
7
|
-
# under the terms of the MIT License; see LICENSE file for more details.
|
8
|
-
#
|
9
|
-
"""OAREPO Runtime CLI module."""
|
10
|
-
|
11
|
-
from __future__ import annotations
|
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
|
{oarepo_runtime-2.0.0.dev8 → oarepo_runtime-2.0.0.dev10}/oarepo_runtime/records/pid_providers.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{oarepo_runtime-2.0.0.dev8 → oarepo_runtime-2.0.0.dev10}/oarepo_runtime/resources/__init__.py
RENAMED
File without changes
|
File without changes
|
{oarepo_runtime-2.0.0.dev8 → oarepo_runtime-2.0.0.dev10}/oarepo_runtime/services/__init__.py
RENAMED
File without changes
|
{oarepo_runtime-2.0.0.dev8 → oarepo_runtime-2.0.0.dev10}/oarepo_runtime/services/config/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{oarepo_runtime-2.0.0.dev8 → oarepo_runtime-2.0.0.dev10}/oarepo_runtime/services/facets/__init__.py
RENAMED
File without changes
|
{oarepo_runtime-2.0.0.dev8 → oarepo_runtime-2.0.0.dev10}/oarepo_runtime/services/facets/params.py
RENAMED
File without changes
|
{oarepo_runtime-2.0.0.dev8 → oarepo_runtime-2.0.0.dev10}/oarepo_runtime/services/records/__init__.py
RENAMED
File without changes
|
{oarepo_runtime-2.0.0.dev8 → oarepo_runtime-2.0.0.dev10}/oarepo_runtime/services/records/links.py
RENAMED
File without changes
|
{oarepo_runtime-2.0.0.dev8 → oarepo_runtime-2.0.0.dev10}/oarepo_runtime/services/records/mapping.py
RENAMED
File without changes
|
File without changes
|
{oarepo_runtime-2.0.0.dev8 → oarepo_runtime-2.0.0.dev10}/oarepo_runtime/services/schema/__init__.py
RENAMED
File without changes
|
{oarepo_runtime-2.0.0.dev8 → oarepo_runtime-2.0.0.dev10}/oarepo_runtime/services/schema/i18n.py
RENAMED
File without changes
|
{oarepo_runtime-2.0.0.dev8 → oarepo_runtime-2.0.0.dev10}/oarepo_runtime/services/schema/i18n_ui.py
RENAMED
File without changes
|