replbase 0.0.57__tar.gz → 0.0.59__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.
- {replbase-0.0.57 → replbase-0.0.59}/PKG-INFO +1 -1
- {replbase-0.0.57 → replbase-0.0.59}/pyproject.toml +1 -1
- {replbase-0.0.57 → replbase-0.0.59}/replbase/repl_base.py +2 -4
- {replbase-0.0.57 → replbase-0.0.59}/LICENSE +0 -0
- {replbase-0.0.57 → replbase-0.0.59}/README.md +0 -0
- {replbase-0.0.57 → replbase-0.0.59}/replbase/__init__.py +0 -0
- {replbase-0.0.57 → replbase-0.0.59}/replbase/cmd_meta.py +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
|
|
|
4
4
|
|
|
5
5
|
[tool.poetry]
|
|
6
6
|
name = "replbase"
|
|
7
|
-
version = "0.0.
|
|
7
|
+
version = "0.0.59"
|
|
8
8
|
description = "\"Combination of other REPL tools into a reusable class that generates a REPL\""
|
|
9
9
|
authors = [ "Joseph Bochinski <stirgejr@gmail.com>",]
|
|
10
10
|
license = "MIT"
|
|
@@ -473,11 +473,9 @@ class ReplBase:
|
|
|
473
473
|
if not callable(cmd):
|
|
474
474
|
return
|
|
475
475
|
|
|
476
|
-
cmd_meta = CommandMeta(func=cmd, register_cmd=self.add_command)
|
|
477
|
-
hyphenate=hyphenate
|
|
478
|
-
)
|
|
476
|
+
cmd_meta = CommandMeta(func=cmd, register_cmd=self.add_command)
|
|
479
477
|
self.cmd_defs[cmd_name] = cmd_meta
|
|
480
|
-
return cmd_meta
|
|
478
|
+
return cmd_meta.gen_command(hyphenate=hyphenate)
|
|
481
479
|
|
|
482
480
|
def setup_cmds(self, *cmd_names: list[str]) -> None:
|
|
483
481
|
"""Automatically configure commands based on the provided names
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|