diff --git a/README.md b/README.md index 805af7b1..594289c4 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.166.1`](https://github.com/kamangir/awesome-bash-cli), based on 🪄 [`abcli-9.429.1`](https://github.com/kamangir/awesome-bash-cli). +built by 🌀 [`blue_options-4.167.1`](https://github.com/kamangir/awesome-bash-cli), based on 🪄 [`abcli-9.430.1`](https://github.com/kamangir/awesome-bash-cli). diff --git a/abcli/.abcli/tests/help.sh b/abcli/.abcli/tests/help.sh index 5e30914e..65bf7d51 100644 --- a/abcli/.abcli/tests/help.sh +++ b/abcli/.abcli/tests/help.sh @@ -101,6 +101,7 @@ function test_abcli_help() { \ "@watch" \ \ + "abcli_log_list" \ "abcli_source_caller_suffix_path" \ "abcli_source_path" \ \ diff --git a/abcli/__init__.py b/abcli/__init__.py index 66245b00..16e2de4b 100644 --- a/abcli/__init__.py +++ b/abcli/__init__.py @@ -6,7 +6,7 @@ DESCRIPTION = f"{ICON} a language to speak AI." -VERSION = "9.429.1" +VERSION = "9.430.1" REPO_NAME = "awesome-bash-cli" diff --git a/abcli/help/functions.py b/abcli/help/functions.py index 206106f8..f8c985ff 100644 --- a/abcli/help/functions.py +++ b/abcli/help/functions.py @@ -12,7 +12,7 @@ from abcli.help.gpu import help_functions as help_gpu from abcli.help.init import help_init from abcli.help.latex import help_functions as help_latex -from abcli.help.logging import help_cat +from abcli.help.logging import help_cat, help_log_list from abcli.help.logging import help_functions as help_log from abcli.help.metadata import help_functions as help_metadata from abcli.help.mlflow import help_functions as help_mlflow diff --git a/abcli/help/logging.py b/abcli/help/logging.py index 3647b207..76a5f195 100644 --- a/abcli/help/logging.py +++ b/abcli/help/logging.py @@ -31,6 +31,27 @@ def help_log( ) +def help_log_list( + tokens: List[str], + mono: bool, +) -> str: + args = [ + '[--before "list of"]', + '[--after "items(s)"]', + "[--delim space | ]", + ] + + return show_usage( + [ + "abcli_log_list", + "", + ] + + args, + "log list.", + mono=mono, + ) + + def help_log_verbose( tokens: List[str], mono: bool, @@ -50,5 +71,6 @@ def help_log_verbose( help_functions = { "": help_log, + "list": help_log_list, "verbose": help_log_verbose, }