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

Display an error message if using the python-on-whales command #640

Merged
merged 1 commit into from
Oct 14, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ dev = ["ruff==0.5.6"]
"Documentation" = "https://gabrieldemarmiesse.github.io/python-on-whales/"
"Bug Tracker" = "https://github.com/gabrieldemarmiesse/python-on-whales/issues"

[project.scripts]
python-on-whales = "python_on_whales.command_line_entrypoint:main"

[tool.setuptools.packages.find]
exclude = ["tests*", "docs*"]

Expand Down
8 changes: 8 additions & 0 deletions python_on_whales/command_line_entrypoint.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
def main():
print(
"The python-on-whales command line interface has been removed "
"in python-on-whales v0.74.0. If you were using it to download the docker CLI, "
"you should instead do it manually. "
"Take a look at https://gabrieldemarmiesse.github.io/python-on-whales/docker_client/ "
"which has instructions to download the Docker client."
)
Loading