From 057d35636f82e66612323dcc1a90277ccdb83545 Mon Sep 17 00:00:00 2001 From: kamangir Date: Sat, 9 Nov 2024 12:27:06 -0800 Subject: [PATCH] help refactor - kamangir/bolt#746 --- README.md | 2 +- abcli/__init__.py | 2 +- abcli/help/cp.py | 9 ++++++++- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 30f3e8e6..8936bd1e 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.153.1`](https://github.com/kamangir/awesome-bash-cli), based on 🪄 [`abcli-9.410.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.411.1`](https://github.com/kamangir/awesome-bash-cli). diff --git a/abcli/__init__.py b/abcli/__init__.py index 0b27fd2f..4e4429c6 100644 --- a/abcli/__init__.py +++ b/abcli/__init__.py @@ -6,7 +6,7 @@ DESCRIPTION = f"{ICON} a language to speak AI." -VERSION = "9.410.1" +VERSION = "9.411.1" REPO_NAME = "awesome-bash-cli" diff --git a/abcli/help/cp.py b/abcli/help/cp.py index 54fb7081..da7833bf 100644 --- a/abcli/help/cp.py +++ b/abcli/help/cp.py @@ -7,7 +7,14 @@ def help_cp( tokens: List[str], mono: bool, ) -> str: - options = "cp,~download,~relate,~tags,upload" + options = "".join( + [ + xtra("cp,~download,", mono=mono), + "~relate", + xtra(",~tags,", mono=mono), + "upload", + ] + ) return show_usage( [