Source code

Revision control

Copy as Markdown

Other Tools

from __future__ import annotations
import click
from piptools.scripts import compile, sync
@click.group()
def cli() -> None:
pass
cli.add_command(compile.cli, "compile")
cli.add_command(sync.cli, "sync")
# Enable ``python -m piptools ...``.
if __name__ == "__main__":
cli()