Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Rename Package #3

Merged
merged 7 commits into from
Apr 25, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = ["flit"]
build-backend = "flit.buildapi"

[project]
name = "easy-gpt"
name = "ask-gpt"
authors = [
{name = "Daniel Ciborowski", email = "[email protected]"},
]
Expand Down Expand Up @@ -55,15 +55,15 @@ test = [
]

[project.scripts]
gpt = "easy_gpt.main:__main__"
gpt = "ask_gpt.main:__main__"

[project.urls]
Documentation = "https://github.com/dciborow/action-gpt/tree/main#readme"
Source = "https://github.com/dciborow/action-gpt"
Tracker = "https://github.com/dciborow/action-gpt/issues"

[tool.flit.module]
name = "easy_gpt"
name = "ask_gpt"

[tool.bandit]
exclude_dirs = ["build","dist","tests","scripts"]
Expand Down
File renamed without changes.
3 changes: 1 addition & 2 deletions src/easy_gpt/_ask.py → src/ask_gpt/_ask.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@

from openai.error import RateLimitError


from easy_gpt._command import GPTCommandGroup
from ask_gpt._command import GPTCommandGroup
dciborow marked this conversation as resolved.
Show resolved Hide resolved

DEFAULT_KEY_VAULT = "https://dciborow-openai.vault.azure.net/"

Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/easy_gpt/_gpt_cli.py → src/ask_gpt/_gpt_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

from knack import CLI, CLICommandsLoader

from easy_gpt import __version__
from easy_gpt._ask import AskCommandGroup
from ask_gpt import __version__
from ask_gpt._ask import AskCommandGroup

CLI_NAME = "gpt"

Expand Down
2 changes: 1 addition & 1 deletion src/easy_gpt/main.py → src/ask_gpt/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

from knack.help_files import helps

from easy_gpt._gpt_cli import cli
from ask_gpt._gpt_cli import cli


def _help_text(help_type, short_summary) -> str:
Expand Down