Skip to content

Commit

Permalink
Change bolt_cli entrypoint to bolt.cli
Browse files Browse the repository at this point in the history
  • Loading branch information
davegaeddert committed Nov 27, 2023
1 parent b8c759f commit 9ad60b7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bolt-dev/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ documentation = "https://www.boltpackages.com/docs/"
repository = "https://github.com/boltpackages/bolt-dev"

# Make the CLI available without adding to INSTALLED_APPS
[tool.poetry.plugins.bolt_cli]
[tool.poetry.plugins."bolt.cli"]
"dev" = "bolt.dev:cli"
"pre-commit" = "bolt.dev.precommit:cli"

Expand Down
2 changes: 1 addition & 1 deletion bolt-pytest/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ classifiers = [
]

# Make the CLI available without adding to INSTALLED_APPS
[tool.poetry.plugins.bolt_cli]
[tool.poetry.plugins."bolt.cli"]
"test" = "bolt.pytest:cli"

# Automatically sets this up with pytest
Expand Down
2 changes: 1 addition & 1 deletion bolt-vendor/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ license = "MIT"
# readme = "README.md"

# Make the CLI available without adding to INSTALLED_APPS
[tool.poetry.plugins.bolt_cli]
[tool.poetry.plugins."bolt.cli"]
"vendor" = "bolt.vendor:cli"

[tool.poetry.dependencies]
Expand Down
2 changes: 1 addition & 1 deletion bolt/cli/packages.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class EntryPointGroup(click.Group):
This is intended for packages that don't go in INSTALLED_PACKAGES.
"""

ENTRYPOINT_NAME = "bolt_cli"
ENTRYPOINT_NAME = "bolt.cli"

def list_commands(self, ctx):
rv = []
Expand Down

0 comments on commit 9ad60b7

Please sign in to comment.