oarepo-runtime 2.0.0.dev9__py3-none-any.whl → 2.0.0.dev10__py3-none-any.whl

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.
@@ -19,6 +19,6 @@ from .api import Model
19
19
  from .ext import OARepoRuntime
20
20
  from .proxies import current_runtime
21
21
 
22
- __version__ = "2.0.0dev9"
22
+ __version__ = "2.0.0dev10"
23
23
 
24
24
  __all__ = ("Model", "OARepoRuntime", "__version__", "current_runtime")
@@ -10,9 +10,18 @@
10
10
 
11
11
  from __future__ import annotations
12
12
 
13
+ from importlib.metadata import entry_points
14
+
13
15
  import click
14
16
 
17
+ from .search import init as search_init # noqa just to register it
18
+
15
19
 
16
20
  @click.group
17
21
  def oarepo() -> None:
18
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())
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: oarepo-runtime
3
- Version: 2.0.0.dev9
3
+ Version: 2.0.0.dev10
4
4
  Summary: A set of runtime extensions of Invenio repository
5
5
  Project-URL: Homepage, https://github.com/oarepo/oarepo-runtime
6
6
  License-Expression: MIT
@@ -1,10 +1,10 @@
1
- oarepo_runtime/__init__.py,sha256=N47TeGUEMfn9siNoTQE10_MmHVx1nPQJYi2wqCCy2Cc,685
1
+ oarepo_runtime/__init__.py,sha256=SLhcLrgpH3Ok2tdONg43Mv1K6w88gDaE_rOFkiKshkk,686
2
2
  oarepo_runtime/api.py,sha256=P_y8b5AFES0ssv6x_GDg4MtD6TIfoNsOAVMMoiRM560,10330
3
3
  oarepo_runtime/config.py,sha256=RUEPFn_5bKp9Wb0OY-Fb3VK30m35vF5IsLjYaQHhP3g,3838
4
4
  oarepo_runtime/ext.py,sha256=AMb5pMnCSbqIpPyP99YUKlf9vopz_b2ZW-RnvfsEVlk,3254
5
5
  oarepo_runtime/proxies.py,sha256=PXaRiBh5qs5-h8M81cJOgtqypFQcYUSjiSn2TLSujRw,648
6
6
  oarepo_runtime/py.typed,sha256=RznSCjXReEUI9zkmD25E8XniG_MvPpLBF6MyNZA8MmE,42
7
- oarepo_runtime/cli/__init__.py,sha256=w9GzC9_T1b1elx0WFyzu1Qa28ZoINQK-RcQopR7eKXs,467
7
+ oarepo_runtime/cli/__init__.py,sha256=CgxpiSTZ6-EMSKXzVl3PUa0ClXKzpmWFmjZJnJsxKWg,712
8
8
  oarepo_runtime/cli/search.py,sha256=yqYHZauXsDBPpN4odYsPOWNQ9xWmAofQ407EAyqx6CY,1137
9
9
  oarepo_runtime/records/__init__.py,sha256=AbWzmVCY7MhrpdEeI0e3lKzeugPMUSo8T08-NBVeig4,339
10
10
  oarepo_runtime/records/drafts.py,sha256=CS-dUkrylNwscgBGfDyhwGBRCzwsyT6AA3Mhu40ShbY,1607
@@ -29,8 +29,8 @@ oarepo_runtime/services/records/mapping.py,sha256=y3oeToKEnaRYpMV3q2-2cXNzyzyL3X
29
29
  oarepo_runtime/services/schema/__init__.py,sha256=jgAPI_uKC6Ug4KQWnwQVg3-aNaw-eHja323AUFo5ELo,351
30
30
  oarepo_runtime/services/schema/i18n.py,sha256=9D1zOQaPKAnYzejB0vO-m2BJYnam0N0Lrq4jID7twfE,3174
31
31
  oarepo_runtime/services/schema/i18n_ui.py,sha256=DbusphhGDeaobTt4nuwNgKZ6Houlu4Sv3SuMGkdjRRY,3582
32
- oarepo_runtime-2.0.0.dev9.dist-info/METADATA,sha256=No__66X5H9WRKziGYe6178vvJnR_dnAwhoCrApJdxhw,4494
33
- oarepo_runtime-2.0.0.dev9.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
34
- oarepo_runtime-2.0.0.dev9.dist-info/entry_points.txt,sha256=by146BvBlFEJn0MWGJj6pzt-VKFKEALhjh1tloNMtow,198
35
- oarepo_runtime-2.0.0.dev9.dist-info/licenses/LICENSE,sha256=h2uWz0OaB3EN-J1ImdGJZzc7yvfQjvHVYdUhQ-H7ypY,1064
36
- oarepo_runtime-2.0.0.dev9.dist-info/RECORD,,
32
+ oarepo_runtime-2.0.0.dev10.dist-info/METADATA,sha256=TTuUBQJsqsf8KzL-KXi-tr8UfiI6fxQgby1do30C4Hw,4495
33
+ oarepo_runtime-2.0.0.dev10.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
34
+ oarepo_runtime-2.0.0.dev10.dist-info/entry_points.txt,sha256=by146BvBlFEJn0MWGJj6pzt-VKFKEALhjh1tloNMtow,198
35
+ oarepo_runtime-2.0.0.dev10.dist-info/licenses/LICENSE,sha256=h2uWz0OaB3EN-J1ImdGJZzc7yvfQjvHVYdUhQ-H7ypY,1064
36
+ oarepo_runtime-2.0.0.dev10.dist-info/RECORD,,