Skip to content

Commit 8b8cc2d

Browse files
committed
Use without_runtime_setup for plain contrib and remove plain-contrib
1 parent 07c3a4c commit 8b8cc2d

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

plain-dev/plain/dev/contribute/cli.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@
55
import click
66

77
from plain.cli import register_cli
8+
from plain.cli.runtime import without_runtime_setup
89

910

11+
@without_runtime_setup
1012
@register_cli("contrib")
1113
@click.command("contribute", hidden=True)
1214
@click.option("--repo", default="../plain", help="Path to the plain repo")

plain-dev/pyproject.toml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,6 @@ dependencies = [
1515
"inotify",
1616
]
1717

18-
# Make this available as a standalone command
19-
# in case plain can't load or something (this can run anyways)
20-
[project.scripts]
21-
plain-contrib = "plain.dev.contribute:cli"
22-
2318
[project.entry-points."plain.setup"]
2419
"dev-setup" = "plain.dev.entrypoints:setup"
2520

0 commit comments

Comments
 (0)