Skip to content

Commit

Permalink
generic help - kamangir/bolt#746
Browse files Browse the repository at this point in the history
  • Loading branch information
kamangir committed Nov 9, 2024
1 parent 51f3eb9 commit 626df29
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
2 changes: 1 addition & 1 deletion abcli/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
15 changes: 15 additions & 0 deletions abcli/help/generic.py
Original file line number Diff line number Diff line change
@@ -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,
),
}

0 comments on commit 626df29

Please sign in to comment.