replbase 0.0.58__tar.gz → 0.0.60__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.58 → replbase-0.0.60}/PKG-INFO +1 -1
- {replbase-0.0.58 → replbase-0.0.60}/pyproject.toml +1 -1
- {replbase-0.0.58 → replbase-0.0.60}/replbase/cmd_meta.py +1 -1
- {replbase-0.0.58 → replbase-0.0.60}/replbase/repl_base.py +2 -2
- {replbase-0.0.58 → replbase-0.0.60}/LICENSE +0 -0
- {replbase-0.0.58 → replbase-0.0.60}/README.md +0 -0
- {replbase-0.0.58 → replbase-0.0.60}/replbase/__init__.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.60"
|
|
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"
|
|
@@ -496,9 +496,9 @@ class ReplBase:
|
|
|
496
496
|
name = func.__name__
|
|
497
497
|
self.add_command(name, func, help_txt=help_text)
|
|
498
498
|
|
|
499
|
-
def setup_cmds_2(self, *cmd_names: list[str]):
|
|
499
|
+
def setup_cmds_2(self, *cmd_names: list[str], hyphenate: bool = True):
|
|
500
500
|
for name in cmd_names:
|
|
501
|
-
self.gen_command(name)
|
|
501
|
+
self.gen_command(name, hyphenate=hyphenate)
|
|
502
502
|
|
|
503
503
|
def warn(self, msg: str) -> None:
|
|
504
504
|
"""Print a message to the REPL preformatted as a warning"""
|
|
File without changes
|
|
File without changes
|
|
File without changes
|