From 45c38a0fab27e8eb91b9a266a4f2b70dc30b06b0 Mon Sep 17 00:00:00 2001 From: kamangir Date: Sat, 15 Jun 2024 20:46:56 -0700 Subject: [PATCH] =?UTF-8?q?hello=20world=20=F0=9F=91=8B=F0=9F=8F=BD=20-=20?= =?UTF-8?q?kamangir/bolt#746?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/bashtest.sh | 2 + .github/workflows/bashtest.yml | 3 +- .github/workflows/pylint.yml | 2 + .github/workflows/pytest.yml | 2 + README.md | 39 +------------------ {blue_plugin => blue_geo}/.abcli/README.md | 0 {blue_plugin => blue_geo}/.abcli/abcli.sh | 6 ++- blue_geo/.abcli/actions.sh | 8 ++++ {blue_plugin => blue_geo}/.abcli/aka.sh | 4 +- .../.abcli/blue_geo.sh | 18 +++++---- blue_geo/.abcli/install.sh | 9 +++++ {blue_plugin => blue_geo}/.abcli/leaf.sh | 10 +++-- {blue_plugin => blue_geo}/.abcli/node.sh | 10 +++-- {blue_plugin => blue_geo}/.abcli/node/leaf.sh | 10 +++-- blue_geo/.abcli/tests/thing.sh | 12 ++++++ .../.abcli/tests/thing_with_args.sh | 4 +- .../.abcli/tests/version.sh | 6 ++- blue_geo/__init__.py | 9 +++++ {blue_plugin => blue_geo}/__main__.py | 6 ++- {blue_plugin => blue_geo}/config.env | 0 {blue_plugin => blue_geo}/env.py | 2 + blue_geo/functions.py | 2 + {blue_plugin => blue_geo}/logger.py | 4 +- blue_geo/node/__init__.py | 5 +++ {blue_plugin => blue_geo}/node/__main__.py | 10 +++-- {blue_plugin => blue_geo}/node/functions.py | 4 +- {blue_plugin => blue_geo}/tests/test_env.py | 6 ++- {blue_plugin => blue_geo}/tests/test_thing.py | 2 + .../tests/test_version.py | 4 +- {blue_plugin => blue_geo}/urls.py | 2 + blue_plugin/.abcli/actions.sh | 6 --- blue_plugin/.abcli/install.sh | 7 ---- blue_plugin/.abcli/session.sh | 17 -------- blue_plugin/.abcli/tests/thing.sh | 10 ----- blue_plugin/__init__.py | 9 ----- blue_plugin/functions.py | 0 blue_plugin/node/__init__.py | 3 -- setup.py | 4 +- 38 files changed, 128 insertions(+), 129 deletions(-) rename {blue_plugin => blue_geo}/.abcli/README.md (100%) rename {blue_plugin => blue_geo}/.abcli/abcli.sh (57%) create mode 100644 blue_geo/.abcli/actions.sh rename {blue_plugin => blue_geo}/.abcli/aka.sh (65%) rename blue_plugin/.abcli/blue_plugin.sh => blue_geo/.abcli/blue_geo.sh (62%) create mode 100644 blue_geo/.abcli/install.sh rename {blue_plugin => blue_geo}/.abcli/leaf.sh (53%) rename {blue_plugin => blue_geo}/.abcli/node.sh (62%) rename {blue_plugin => blue_geo}/.abcli/node/leaf.sh (76%) create mode 100644 blue_geo/.abcli/tests/thing.sh rename {blue_plugin => blue_geo}/.abcli/tests/thing_with_args.sh (84%) rename {blue_plugin => blue_geo}/.abcli/tests/version.sh (53%) create mode 100644 blue_geo/__init__.py rename {blue_plugin => blue_geo}/__main__.py (61%) rename {blue_plugin => blue_geo}/config.env (100%) rename {blue_plugin => blue_geo}/env.py (99%) create mode 100644 blue_geo/functions.py rename {blue_plugin => blue_geo}/logger.py (68%) create mode 100644 blue_geo/node/__init__.py rename {blue_plugin => blue_geo}/node/__main__.py (75%) rename {blue_plugin => blue_geo}/node/functions.py (66%) rename {blue_plugin => blue_geo}/tests/test_env.py (73%) rename {blue_plugin => blue_geo}/tests/test_thing.py (99%) rename {blue_plugin => blue_geo}/tests/test_version.py (56%) rename {blue_plugin => blue_geo}/urls.py (89%) delete mode 100644 blue_plugin/.abcli/actions.sh delete mode 100644 blue_plugin/.abcli/install.sh delete mode 100644 blue_plugin/.abcli/session.sh delete mode 100644 blue_plugin/.abcli/tests/thing.sh delete mode 100644 blue_plugin/__init__.py delete mode 100644 blue_plugin/functions.py delete mode 100644 blue_plugin/node/__init__.py diff --git a/.github/workflows/bashtest.sh b/.github/workflows/bashtest.sh index afb49e85..4898551b 100755 --- a/.github/workflows/bashtest.sh +++ b/.github/workflows/bashtest.sh @@ -15,3 +15,5 @@ function bashtest() { } bashtest "$@" + + diff --git a/.github/workflows/bashtest.yml b/.github/workflows/bashtest.yml index 01cd9737..455be8d4 100644 --- a/.github/workflows/bashtest.yml +++ b/.github/workflows/bashtest.yml @@ -34,4 +34,5 @@ jobs: echo "ABCLI_AWS_RDS_HOST: $ABCLI_AWS_RDS_HOST" echo "ABCLI_AWS_RDS_PASSWORD: $ABCLI_AWS_RDS_PASSWORD" - ./.github/workflows/bashtest.sh blue_plugin \ No newline at end of file + ./.github/workflows/bashtest.sh blue_geo + diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index 40dac252..19a42066 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -21,3 +21,5 @@ jobs: - name: Analysing the code with pylint run: | pylint -d W1203,C0103,C0111,C0114,C0305,C0115,C0116,C0411,W0404,W0237,C0209,C0415,W0621,W0702,W0102,W1202,E0401,W1514,C3002,W0401,W0611,C0413,C0412,W0603,R0911,E1101,W0622,R1721,W0718,R1728,C3001,R0801,R0401,R0914,R0913,R0915,W0123,R0912,C0301,W0511,W0105,W0613,R0902,R0903,R1735,W1401,W3101,W1308,E1102 $(git ls-files '*.py') + + diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 773a331c..d02b89ca 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -39,3 +39,5 @@ jobs: echo "ABCLI_AWS_RDS_PASSWORD: $ABCLI_AWS_RDS_PASSWORD" echo "BLUE_PLUGIN_SECRET: $BLUE_PLUGIN_SECRET" pytest + + diff --git a/README.md b/README.md index 3aa1cd25..eb4af0ef 100644 --- a/README.md +++ b/README.md @@ -1,38 +1 @@ -# 🌀 blue-plugin - -🌀 `blue-plugin` is a git template for an 🚀 [`awesome-bash-cli`](https://github.com/kamangir/awesome-bash-cli) (`abcli`) plugin, to build [things like these](https://github.com/kamangir?tab=repositories), that out-of-the-box support, - -- a git repo with actions. -- [pytest](https://docs.pytest.org/). -- [pylint](https://pypi.org/project/pylint/). -- a python package. -- [pypi](https://pypi.org/). -- a bash interface. -- bash testing. - -## installation - -```bash -pip install blue-plugin -``` - -## creating a blue-plugin - -1️⃣ create a new repository from [this template](https://github.com/kamangir/blue-plugin), - -2️⃣ complete `` and `` and run, - -```bash -@git clone cd - -@plugins transform - -@init - help -``` - ---- - -[![PyPI version](https://img.shields.io/pypi/v/blue-plugin.svg)](https://pypi.org/project/blue-plugin/) - -To use on [AWS SageMaker](https://aws.amazon.com/sagemaker/) replace `` with the name of the plugin and follow [these instructions](https://github.com/kamangir/notebooks-and-scripts/blob/main/SageMaker.md). +# blue_geo diff --git a/blue_plugin/.abcli/README.md b/blue_geo/.abcli/README.md similarity index 100% rename from blue_plugin/.abcli/README.md rename to blue_geo/.abcli/README.md diff --git a/blue_plugin/.abcli/abcli.sh b/blue_geo/.abcli/abcli.sh similarity index 57% rename from blue_plugin/.abcli/abcli.sh rename to blue_geo/.abcli/abcli.sh index c640d0f6..1ff894cf 100644 --- a/blue_plugin/.abcli/abcli.sh +++ b/blue_geo/.abcli/abcli.sh @@ -3,6 +3,8 @@ abcli_source_path - caller,suffix=/tests abcli_env dot load \ - plugin=blue_plugin + plugin=blue_geo abcli_env dot load \ - filename=blue_plugin/config.env,plugin=blue_plugin + filename=blue_geo/config.env,plugin=blue_geo + + diff --git a/blue_geo/.abcli/actions.sh b/blue_geo/.abcli/actions.sh new file mode 100644 index 00000000..089e06db --- /dev/null +++ b/blue_geo/.abcli/actions.sh @@ -0,0 +1,8 @@ +#! /usr/bin/env bash + +function blue_geo_action_git_before_push() { + [[ "$(abcli_git get_branch)" == "main" ]] && + blue_geo pypi build +} + + diff --git a/blue_plugin/.abcli/aka.sh b/blue_geo/.abcli/aka.sh similarity index 65% rename from blue_plugin/.abcli/aka.sh rename to blue_geo/.abcli/aka.sh index 7df3db7f..9cec235a 100644 --- a/blue_plugin/.abcli/aka.sh +++ b/blue_geo/.abcli/aka.sh @@ -1,5 +1,7 @@ #! /usr/bin/env bash function bp() { - blue_plugin "$@" + blue_geo "$@" } + + diff --git a/blue_plugin/.abcli/blue_plugin.sh b/blue_geo/.abcli/blue_geo.sh similarity index 62% rename from blue_plugin/.abcli/blue_plugin.sh rename to blue_geo/.abcli/blue_geo.sh index 1c1f1a78..34cf70ce 100755 --- a/blue_plugin/.abcli/blue_plugin.sh +++ b/blue_geo/.abcli/blue_geo.sh @@ -1,26 +1,26 @@ #! /usr/bin/env bash -function blue_plugin() { +function blue_geo() { local task=$(abcli_unpack_keyword $1 help) if [ $task == "help" ]; then - blue_plugin_leaf "$@" - blue_plugin_node "$@" - blue_plugin task "$@" + blue_geo_leaf "$@" + blue_geo_node "$@" + blue_geo task "$@" return fi if [ "$task" == "task" ]; then local options=$2 if [ $(abcli_option_int "$options" help 0) == 1 ]; then - abcli_show_usage "blue_plugin task [|all]" \ + abcli_show_usage "blue_geo task [|all]" \ "task things." return fi local what=$(abcli_option "$options" what what) - python3 -m blue_plugin \ + python3 -m blue_geo \ task \ --what "$what" \ "${@:3}" @@ -29,8 +29,10 @@ function blue_plugin() { fi abcli_generic_task \ - plugin=blue_plugin,task=$task \ + plugin=blue_geo,task=$task \ "${@:2}" } -abcli_log $(blue_plugin version --show_icon 1) +abcli_log $(blue_geo version --show_icon 1) + + diff --git a/blue_geo/.abcli/install.sh b/blue_geo/.abcli/install.sh new file mode 100644 index 00000000..2a60bce4 --- /dev/null +++ b/blue_geo/.abcli/install.sh @@ -0,0 +1,9 @@ +#! /usr/bin/env bash + +function abcli_install_blue_geo() { + : +} + +abcli_install_module blue_geo 1.1.1 + + diff --git a/blue_plugin/.abcli/leaf.sh b/blue_geo/.abcli/leaf.sh similarity index 53% rename from blue_plugin/.abcli/leaf.sh rename to blue_geo/.abcli/leaf.sh index 87f80ba3..21b73d1f 100644 --- a/blue_plugin/.abcli/leaf.sh +++ b/blue_geo/.abcli/leaf.sh @@ -1,15 +1,17 @@ #! /usr/bin/env bash -function blue_plugin_leaf() { +function blue_geo_leaf() { local options=$1 if [ $(abcli_option_int "$options" help 0) == 1 ]; then local options="dryrun,upload" local args="[-- ]$ABCUL[-- ]" - abcli_show_usage "blue_plugin leaf$ABCUL[$options]$ABCUL$ABCUL$args" \ - "blue-plugin leaf ." + abcli_show_usage "blue_geo leaf$ABCUL[$options]$ABCUL$ABCUL$args" \ + "blue-geo leaf ." return fi - echo "blue-plugin: leaf: 🪄" + echo "blue-geo: leaf: 🪄" } + + diff --git a/blue_plugin/.abcli/node.sh b/blue_geo/.abcli/node.sh similarity index 62% rename from blue_plugin/.abcli/node.sh rename to blue_geo/.abcli/node.sh index bf33cf7e..02e2f068 100644 --- a/blue_plugin/.abcli/node.sh +++ b/blue_geo/.abcli/node.sh @@ -1,21 +1,23 @@ #! /usr/bin/env bash -function blue_plugin_node() { +function blue_geo_node() { local task=$(abcli_unpack_keyword $1 help) if [ "$task" == "help" ]; then - blue_plugin_node_leaf "$@" + blue_geo_node_leaf "$@" return fi - local function_name=blue_plugin_node_$task + local function_name=blue_geo_node_$task if [[ $(type -t $function_name) == "function" ]]; then $function_name "${@:2}" return fi - abcli_log_error "-blue_plugin: node: $task: command not found." + abcli_log_error "-blue_geo: node: $task: command not found." return 1 } abcli_source_path - caller,suffix=/node + + diff --git a/blue_plugin/.abcli/node/leaf.sh b/blue_geo/.abcli/node/leaf.sh similarity index 76% rename from blue_plugin/.abcli/node/leaf.sh rename to blue_geo/.abcli/node/leaf.sh index 833044ce..829b0d33 100644 --- a/blue_plugin/.abcli/node/leaf.sh +++ b/blue_geo/.abcli/node/leaf.sh @@ -1,13 +1,13 @@ #! /usr/bin/env bash -function blue_plugin_node_leaf() { +function blue_geo_node_leaf() { local options=$1 if [ $(abcli_option_int "$options" help 0) == 1 ]; then options="~download,dryrun,~upload" local args="[-- ]$ABCUL[-- ]" - abcli_show_usage "blue_plugin node leaf$ABCUL[$options]$ABCUL[.|]$ABCUL[-|]$ABCUL$args" \ - " -[blue-plugin node leaf]-> ." + abcli_show_usage "blue_geo node leaf$ABCUL[$options]$ABCUL[.|]$ABCUL[-|]$ABCUL$args" \ + " -[blue-geo node leaf]-> ." return fi @@ -23,7 +23,7 @@ function blue_plugin_node_leaf() { local object_name_2=$(abcli_clarify_object $4 $(abcli_string_timestamp)) abcli_eval dryrun=$do_dryrun \ - python3 -m blue_plugin.node \ + python3 -m blue_geo.node \ leaf \ --object_name_1 $object_name_1 \ --object_name_2 $object_name_2 \ @@ -32,3 +32,5 @@ function blue_plugin_node_leaf() { [[ "$do_dryrun" == 1 ]] && abcli_upload - $object_name_2 } + + diff --git a/blue_geo/.abcli/tests/thing.sh b/blue_geo/.abcli/tests/thing.sh new file mode 100644 index 00000000..ade1e8c1 --- /dev/null +++ b/blue_geo/.abcli/tests/thing.sh @@ -0,0 +1,12 @@ +#! /usr/bin/env bash + +function test_blue_geo_thing() { + local options=$1 + + local test_options=$2 + + abcli_eval ,$options \ + "echo 📜 blue-geo: test: thing: $test_options: ${@:3}." +} + + diff --git a/blue_plugin/.abcli/tests/thing_with_args.sh b/blue_geo/.abcli/tests/thing_with_args.sh similarity index 84% rename from blue_plugin/.abcli/tests/thing_with_args.sh rename to blue_geo/.abcli/tests/thing_with_args.sh index d263f673..59c600f7 100644 --- a/blue_plugin/.abcli/tests/thing_with_args.sh +++ b/blue_geo/.abcli/tests/thing_with_args.sh @@ -1,6 +1,6 @@ #! /usr/bin/env bash -function test_blue_plugin_thing_with_args() { +function test_blue_geo_thing_with_args() { local options=$1 local do_dryrun=$(abcli_option_int "$options" dryrun 0) @@ -12,3 +12,5 @@ function test_blue_plugin_thing_with_args() { echo "🪄 $arg" done } + + diff --git a/blue_plugin/.abcli/tests/version.sh b/blue_geo/.abcli/tests/version.sh similarity index 53% rename from blue_plugin/.abcli/tests/version.sh rename to blue_geo/.abcli/tests/version.sh index 0182faa5..026b899b 100644 --- a/blue_plugin/.abcli/tests/version.sh +++ b/blue_geo/.abcli/tests/version.sh @@ -1,10 +1,12 @@ #! /usr/bin/env bash -function test_blue_plugin_version() { +function test_blue_geo_version() { local options=$1 abcli_eval ,$options \ - "blue_plugin version ${@:2}" + "blue_geo version ${@:2}" return 0 } + + diff --git a/blue_geo/__init__.py b/blue_geo/__init__.py new file mode 100644 index 00000000..ab5d9b5f --- /dev/null +++ b/blue_geo/__init__.py @@ -0,0 +1,9 @@ +NAME = "blue_geo" + +ICON = "🌐" + +DESCRIPTION = f"{ICON} AI for precise geospatial data analysis and visualization." + +VERSION = "4.2.1" + +REPO_NAME = "blue-geo" diff --git a/blue_plugin/__main__.py b/blue_geo/__main__.py similarity index 61% rename from blue_plugin/__main__.py rename to blue_geo/__main__.py index 8307c642..8d89b5fe 100644 --- a/blue_plugin/__main__.py +++ b/blue_geo/__main__.py @@ -1,7 +1,9 @@ -from blue_plugin import NAME, VERSION, DESCRIPTION, ICON -from blue_plugin.logger import logger +from blue_geo import NAME, VERSION, DESCRIPTION, ICON +from blue_geo.logger import logger from blueness.argparse.generic import main success, message = main(__file__, NAME, VERSION, DESCRIPTION, ICON) if not success: logger.error(message) + + diff --git a/blue_plugin/config.env b/blue_geo/config.env similarity index 100% rename from blue_plugin/config.env rename to blue_geo/config.env diff --git a/blue_plugin/env.py b/blue_geo/env.py similarity index 99% rename from blue_plugin/env.py rename to blue_geo/env.py index 09c576bb..03cbdc36 100644 --- a/blue_plugin/env.py +++ b/blue_geo/env.py @@ -14,3 +14,5 @@ "BLUE_PLUGIN_CONFIG", "", ) + + diff --git a/blue_geo/functions.py b/blue_geo/functions.py new file mode 100644 index 00000000..139597f9 --- /dev/null +++ b/blue_geo/functions.py @@ -0,0 +1,2 @@ + + diff --git a/blue_plugin/logger.py b/blue_geo/logger.py similarity index 68% rename from blue_plugin/logger.py rename to blue_geo/logger.py index 8875b9f7..b32d1a31 100644 --- a/blue_plugin/logger.py +++ b/blue_geo/logger.py @@ -1,4 +1,6 @@ from abcli.logger import get_logger -from blue_plugin import ICON +from blue_geo import ICON logger = get_logger(ICON) + + diff --git a/blue_geo/node/__init__.py b/blue_geo/node/__init__.py new file mode 100644 index 00000000..ebce3bc1 --- /dev/null +++ b/blue_geo/node/__init__.py @@ -0,0 +1,5 @@ +from blue_geo import NAME + +NAME = f"{NAME}.node" + + diff --git a/blue_plugin/node/__main__.py b/blue_geo/node/__main__.py similarity index 75% rename from blue_plugin/node/__main__.py rename to blue_geo/node/__main__.py index a7c0d054..9ab7a538 100644 --- a/blue_plugin/node/__main__.py +++ b/blue_geo/node/__main__.py @@ -1,8 +1,8 @@ import argparse -from blue_plugin import VERSION -from blue_plugin.node import NAME -from blue_plugin.node.functions import func -from blue_plugin.logger import logger +from blue_geo import VERSION +from blue_geo.node import NAME +from blue_geo.node.functions import func +from blue_geo.logger import logger from blueness.argparse.generic import sys_exit parser = argparse.ArgumentParser(NAME, description=f"{NAME}-{VERSION}") @@ -26,3 +26,5 @@ success = None sys_exit(logger, NAME, args.task, success) + + diff --git a/blue_plugin/node/functions.py b/blue_geo/node/functions.py similarity index 66% rename from blue_plugin/node/functions.py rename to blue_geo/node/functions.py index 095c5734..7cd4befe 100644 --- a/blue_plugin/node/functions.py +++ b/blue_geo/node/functions.py @@ -1,6 +1,8 @@ -from blue_plugin.logger import logger +from blue_geo.logger import logger def func(arg: str) -> bool: logger.info(f"arg:{arg}") return True + + diff --git a/blue_plugin/tests/test_env.py b/blue_geo/tests/test_env.py similarity index 73% rename from blue_plugin/tests/test_env.py rename to blue_geo/tests/test_env.py index c9aa4bbb..5e19fc99 100644 --- a/blue_plugin/tests/test_env.py +++ b/blue_geo/tests/test_env.py @@ -1,11 +1,13 @@ from abcli.tests import test_env -from blue_plugin import env +from blue_geo import env def test_abcli_env(): test_env.test_abcli_env() -def test_blue_plugin_env(): +def test_blue_geo_env(): assert env.BLUE_PLUGIN_SECRET assert env.BLUE_PLUGIN_CONFIG + + diff --git a/blue_plugin/tests/test_thing.py b/blue_geo/tests/test_thing.py similarity index 99% rename from blue_plugin/tests/test_thing.py rename to blue_geo/tests/test_thing.py index b1860eb5..dd6b52a1 100644 --- a/blue_plugin/tests/test_thing.py +++ b/blue_geo/tests/test_thing.py @@ -29,3 +29,5 @@ def test_thing( object_name = unique_object() assert object_name + + diff --git a/blue_plugin/tests/test_version.py b/blue_geo/tests/test_version.py similarity index 56% rename from blue_plugin/tests/test_version.py rename to blue_geo/tests/test_version.py index 9ef2755a..5aecae24 100644 --- a/blue_plugin/tests/test_version.py +++ b/blue_geo/tests/test_version.py @@ -1,5 +1,7 @@ -from blue_plugin import VERSION +from blue_geo import VERSION def test_version(): assert VERSION + + diff --git a/blue_plugin/urls.py b/blue_geo/urls.py similarity index 89% rename from blue_plugin/urls.py rename to blue_geo/urls.py index 637600f5..3051334a 100644 --- a/blue_plugin/urls.py +++ b/blue_geo/urls.py @@ -1 +1,3 @@ urlpatterns = [] + + diff --git a/blue_plugin/.abcli/actions.sh b/blue_plugin/.abcli/actions.sh deleted file mode 100644 index 582249f2..00000000 --- a/blue_plugin/.abcli/actions.sh +++ /dev/null @@ -1,6 +0,0 @@ -#! /usr/bin/env bash - -function blue_plugin_action_git_before_push() { - [[ "$(abcli_git get_branch)" == "main" ]] && - blue_plugin pypi build -} diff --git a/blue_plugin/.abcli/install.sh b/blue_plugin/.abcli/install.sh deleted file mode 100644 index 3f949989..00000000 --- a/blue_plugin/.abcli/install.sh +++ /dev/null @@ -1,7 +0,0 @@ -#! /usr/bin/env bash - -function abcli_install_blue_plugin() { - : -} - -abcli_install_module blue_plugin 1.1.1 diff --git a/blue_plugin/.abcli/session.sh b/blue_plugin/.abcli/session.sh deleted file mode 100644 index 93c4fc92..00000000 --- a/blue_plugin/.abcli/session.sh +++ /dev/null @@ -1,17 +0,0 @@ -#! /usr/bin/env bash - -function blue_plugin_session() { - local task=$(abcli_unpack_keyword $1 help) - - if [ "$task" == "start" ]; then - abcli_log "blue-plugin: session started." - - # session code here - - abcli_log "blue-plugin: session ended." - return - fi - - abcli_log_error "-blue-plugin: session: $task: command not found." - return 1 -} diff --git a/blue_plugin/.abcli/tests/thing.sh b/blue_plugin/.abcli/tests/thing.sh deleted file mode 100644 index 0eec6483..00000000 --- a/blue_plugin/.abcli/tests/thing.sh +++ /dev/null @@ -1,10 +0,0 @@ -#! /usr/bin/env bash - -function test_blue_plugin_thing() { - local options=$1 - - local test_options=$2 - - abcli_eval ,$options \ - "echo 📜 blue-plugin: test: thing: $test_options: ${@:3}." -} diff --git a/blue_plugin/__init__.py b/blue_plugin/__init__.py deleted file mode 100644 index 829c73cf..00000000 --- a/blue_plugin/__init__.py +++ /dev/null @@ -1,9 +0,0 @@ -NAME = "blue_plugin" - -ICON = "🌀" - -DESCRIPTION = f"{ICON} a git template for an awesome-bash-cli plugin." - -VERSION = "3.82.1" - -REPO_NAME = "blue-plugin" diff --git a/blue_plugin/functions.py b/blue_plugin/functions.py deleted file mode 100644 index e69de29b..00000000 diff --git a/blue_plugin/node/__init__.py b/blue_plugin/node/__init__.py deleted file mode 100644 index da851c1d..00000000 --- a/blue_plugin/node/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -from blue_plugin import NAME - -NAME = f"{NAME}.node" diff --git a/setup.py b/setup.py index c989c491..15966daa 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -from blue_plugin import NAME, VERSION, DESCRIPTION, REPO_NAME +from blue_geo import NAME, VERSION, DESCRIPTION, REPO_NAME from blueness.pypi import setup @@ -17,3 +17,5 @@ ], }, ) + +