omdev 0.0.0.dev393__py3-none-any.whl → 0.0.0.dev394__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.
omdev/cli/main.py CHANGED
@@ -13,7 +13,7 @@ import typing as ta
13
13
 
14
14
  from omlish import check
15
15
  from omlish.lite.cached import cached_nullary
16
- from omlish.manifests.load import ManifestLoader
16
+ from omlish.manifests.globals import MANIFEST_LOADER
17
17
 
18
18
  from .types import CliCmd
19
19
  from .types import CliFunc
@@ -183,7 +183,10 @@ def _build_arg_parser() -> argparse.ArgumentParser:
183
183
 
184
184
 
185
185
  def _build_cmd_set(args: ta.Any) -> CliCmdSet:
186
- ldr = ManifestLoader.from_entry_point(globals())
186
+ ldr = MANIFEST_LOADER.from_entry_point(
187
+ globals(),
188
+ cls_instantiator=MANIFEST_LOADER.instantiate_cls,
189
+ )
187
190
 
188
191
  #
189
192