Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
kamangir committed Nov 25, 2024
1 parent f962c3b commit 1f3274e
Show file tree
Hide file tree
Showing 5 changed files with 23 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.162.1`](https://github.com/kamangir/awesome-bash-cli), based on 🪄 [`abcli-9.425.1`](https://github.com/kamangir/awesome-bash-cli).
built by 🌀 [`blue_options-4.163.1`](https://github.com/kamangir/awesome-bash-cli), based on 🪄 [`abcli-9.426.1`](https://github.com/kamangir/awesome-bash-cli).
2 changes: 2 additions & 0 deletions abcli/.abcli/tests/help.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ function test_abcli_help() {

local module
for module in \
"@badge" \
\
"@batch browse" \
"@batch cat" \
"@batch eval" \
Expand Down
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.425.1"
VERSION = "9.426.1"

REPO_NAME = "awesome-bash-cli"

Expand Down
2 changes: 2 additions & 0 deletions abcli/help/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
from abcli.help.sagemaker import help_functions as help_sagemaker
from abcli.help.seed import help_functions as help_seed
from abcli.help.sleep import help_sleep
from abcli.help.terminal import help_badge
from abcli.help.terraform import help_functions as help_terraform
from abcli.help.upload import help_upload
from abcli.help.watch import help_watch
Expand All @@ -32,6 +33,7 @@
help_functions.update(
{
"aws_batch": help_aws_batch,
"badge": help_badge,
"browse": help_browse,
"cp": help_cp,
"docker": help_docker,
Expand Down
17 changes: 17 additions & 0 deletions abcli/help/terminal.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
from typing import List

from blue_options.terminal import show_usage


def help_badge(
tokens: List[str],
mono: bool,
) -> str:
return show_usage(
[
"@badge",
'clear | "🪄"',
],
"update badge.",
mono=mono,
)

0 comments on commit 1f3274e

Please sign in to comment.