diff --git a/README.md b/README.md index 01b727a7..30f3e8e6 100644 --- a/README.md +++ b/README.md @@ -63,4 +63,4 @@ create a copy of [`sample.env`](./abcli/sample.env) as `.env` and fill in the se [![pylint](https://github.com/kamangir/awesome-bash-cli/actions/workflows/pylint.yml/badge.svg)](https://github.com/kamangir/awesome-bash-cli/actions/workflows/pylint.yml) [![pytest](https://github.com/kamangir/awesome-bash-cli/actions/workflows/pytest.yml/badge.svg)](https://github.com/kamangir/awesome-bash-cli/actions/workflows/pytest.yml) [![bashtest](https://github.com/kamangir/awesome-bash-cli/actions/workflows/bashtest.yml/badge.svg)](https://github.com/kamangir/awesome-bash-cli/actions/workflows/bashtest.yml) [![PyPI version](https://img.shields.io/pypi/v/abcli.svg)](https://pypi.org/project/abcli/) [![PyPI - Downloads](https://img.shields.io/pypi/dd/abcli)](https://pypistats.org/packages/abcli) -built by 🌀 [`blue_options-4.152.1`](https://github.com/kamangir/awesome-bash-cli), based on 🪄 [`abcli-9.409.1`](https://github.com/kamangir/awesome-bash-cli). +built by 🌀 [`blue_options-4.153.1`](https://github.com/kamangir/awesome-bash-cli), based on 🪄 [`abcli-9.410.1`](https://github.com/kamangir/awesome-bash-cli). diff --git a/abcli/__init__.py b/abcli/__init__.py index 4120a104..0b27fd2f 100644 --- a/abcli/__init__.py +++ b/abcli/__init__.py @@ -6,7 +6,7 @@ DESCRIPTION = f"{ICON} a language to speak AI." -VERSION = "9.409.1" +VERSION = "9.410.1" REPO_NAME = "awesome-bash-cli" diff --git a/abcli/help/generic.py b/abcli/help/generic.py new file mode 100644 index 00000000..8ed8a414 --- /dev/null +++ b/abcli/help/generic.py @@ -0,0 +1,15 @@ +from typing import List, Dict, Callable, Union + +from abcli.help.functions import help_pytest + + +def generic_help_functions( + plugin_name: str = "abcli", +) -> Union[Callable, Dict[str, Union[Callable, Dict]]]: + return { + "pytest": lambda tokens, mono: help_pytest( + tokens, + mono=mono, + plugin_name=plugin_name, + ), + }