18 lines
267 B
Python
18 lines
267 B
Python
import click
|
|
|
|
from piptools.scripts import compile, sync
|
|
|
|
|
|
@click.group()
|
|
def cli():
|
|
pass
|
|
|
|
|
|
cli.add_command(compile.cli, "compile")
|
|
cli.add_command(sync.cli, "sync")
|
|
|
|
|
|
# Enable ``python -m piptools ...``.
|
|
if __name__ == "__main__": # pragma: no branch
|
|
cli()
|