Skip to content

Commit

Permalink
README refactor - kamangir/bolt#746
Browse files Browse the repository at this point in the history
  • Loading branch information
kamangir committed Sep 14, 2024
1 parent 78a4093 commit 5b78d9a
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ to use on [AWS SageMaker](https://aws.amazon.com/sagemaker/) replace `<plugin-na

[![pylint](https://github.com/kamangir/openai-commands/actions/workflows/pylint.yml/badge.svg)](https://github.com/kamangir/openai-commands/actions/workflows/pylint.yml) [![pytest](https://github.com/kamangir/openai-commands/actions/workflows/pytest.yml/badge.svg)](https://github.com/kamangir/openai-commands/actions/workflows/pytest.yml) [![bashtest](https://github.com/kamangir/openai-commands/actions/workflows/bashtest.yml/badge.svg)](https://github.com/kamangir/openai-commands/actions/workflows/bashtest.yml) [![PyPI version](https://img.shields.io/pypi/v/openai-commands.svg)](https://pypi.org/project/openai-commands/)

built by 🪄 [`blue_options-4.49.1-abcli-blue-objects-attempt-2-b-2024-09-07-99677`](https://github.com/kamangir/awesome-bash-cli), based on [`openai_commands-3.163.1`](https://github.com/kamangir/openai-commands).
built by 🌀 [`blue_options-4.65.1-abcli-blue-objects-attempt-2-b-2024-09-07-99677`](https://github.com/kamangir/awesome-bash-cli), based on [`openai_commands-3.164.1`](https://github.com/kamangir/openai-commands).
7 changes: 3 additions & 4 deletions openai_commands/README.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import os

from blue_objects import file
from abcli.plugins.README import build as build_README
from blue_objects import file, README

from openai_commands.literature_review.README import items as literature_review_items
from openai_commands import NAME, VERSION, ICON, REPO_NAME
Expand Down Expand Up @@ -78,13 +77,13 @@


def build():
return build_README(
return README.build(
items=items,
path=os.path.join(file.path(__file__), ".."),
NAME=NAME,
VERSION=VERSION,
REPO_NAME=REPO_NAME,
) and build_README(
) and README.build(
items=literature_review_items,
cols=2,
path=os.path.join(file.path(__file__), "literature_review"),
Expand Down
2 changes: 1 addition & 1 deletion openai_commands/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

DESCRIPTION = f"{ICON} a command interface to the OpenAI API."

VERSION = "3.163.1"
VERSION = "3.164.1"

REPO_NAME = "openai-commands"

Expand Down
6 changes: 3 additions & 3 deletions openai_commands/__main__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
from openai_commands import NAME, VERSION, DESCRIPTION, ICON
from openai_commands.logger import logger
from openai_commands import README
from blueness.argparse.generic import main

from openai_commands import NAME, VERSION, DESCRIPTION, ICON, README
from openai_commands.logger import logger

main(
ICON=ICON,
NAME=NAME,
Expand Down
2 changes: 1 addition & 1 deletion openai_commands/literature_review/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ literature review at scale on [AWS Batch](https://aws.amazon.com/batch/) through
| | |
| --- | --- |
| [aws_batch](https://github.com/kamangir/notebooks-and-scripts/tree/main/notebooks_and_scripts/workflow/runners/aws_batch.py) | [local](https://github.com/kamangir/notebooks-and-scripts/tree/main/notebooks_and_scripts/workflow/runners/local.py) |
| [![image](https://kamangir-public.s3.ca-central-1.amazonaws.com/AMR-v7-test-litrev-multiple-aws_batch-study-type-screening-result/workflow.gif?raw=true&random=CsFYkA3f7O6pUQHw)](https://kamangir-public.s3.ca-central-1.amazonaws.com/AMR-v7-test-litrev-multiple-aws_batch-study-type-screening-result/workflow.gif?raw=true&random=CsFYkA3f7O6pUQHw) | [![image](https://kamangir-public.s3.ca-central-1.amazonaws.com/AMR-v7-test-litrev-multiple-local-study-type-screening-result/workflow.gif?raw=true&random=CW9KQdO9zbcMlNDF)](https://kamangir-public.s3.ca-central-1.amazonaws.com/AMR-v7-test-litrev-multiple-local-study-type-screening-result/workflow.gif?raw=true&random=CW9KQdO9zbcMlNDF) |
| [![image](https://kamangir-public.s3.ca-central-1.amazonaws.com/AMR-v7-test-litrev-multiple-aws_batch-study-type-screening-result/workflow.gif?raw=true&random=DVBAv8uv37c33svR)](https://kamangir-public.s3.ca-central-1.amazonaws.com/AMR-v7-test-litrev-multiple-aws_batch-study-type-screening-result/workflow.gif?raw=true&random=DVBAv8uv37c33svR) | [![image](https://kamangir-public.s3.ca-central-1.amazonaws.com/AMR-v7-test-litrev-multiple-local-study-type-screening-result/workflow.gif?raw=true&random=nMTp1zPCLmVmJ2BR)](https://kamangir-public.s3.ca-central-1.amazonaws.com/AMR-v7-test-litrev-multiple-local-study-type-screening-result/workflow.gif?raw=true&random=nMTp1zPCLmVmJ2BR) |

---

Expand Down

0 comments on commit 5b78d9a

Please sign in to comment.