-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathmain.py
More file actions
35 lines (26 loc) · 996 Bytes
/
main.py
File metadata and controls
35 lines (26 loc) · 996 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
"""DeepWork CLI entry point."""
import click
@click.group()
@click.version_option(package_name="deepwork")
def cli() -> None:
"""DeepWork - Framework for AI-powered multi-step workflows."""
pass
# Import commands
from deepwork.cli.codex_hook import codex_hook # noqa: E402
from deepwork.cli.hook import hook # noqa: E402
from deepwork.cli.install import install, sync # noqa: E402
from deepwork.cli.jobs import jobs # noqa: E402
from deepwork.cli.review import review # noqa: E402
from deepwork.cli.serve import serve # noqa: E402
cli.add_command(codex_hook)
cli.add_command(hook)
cli.add_command(jobs)
cli.add_command(review)
cli.add_command(serve)
# DEPRECATION NOTICE: Remove after June 1st, 2026; details in PR https://github.com/Unsupervisedcom/deepwork/pull/227
# install and sync are hidden back-compat commands that tell users
# to migrate to the Claude plugin distribution model.
cli.add_command(install)
cli.add_command(sync)
if __name__ == "__main__":
cli()