mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
8ae70d85d4
Now the pype command has a `--verbose` argument that to enable debug logging in the pypelien code. Adapted the codebase to use this new logging format but replacing `logging` with `revng.pypeline.utils.logger`, this is done in preparation of debug-log.
23 lines
404 B
Python
23 lines
404 B
Python
#
|
|
# This file is distributed under the MIT License. See LICENSE.md for details.
|
|
#
|
|
|
|
import click
|
|
|
|
from revng.pypeline.cli.utils import PypeGroup
|
|
|
|
from .run_analysis import run_analysis
|
|
from .run_pipe import run_pipe
|
|
|
|
|
|
@click.group(
|
|
cls=PypeGroup,
|
|
help="Low-level pipeline commands (plumbing)",
|
|
)
|
|
def pipeline() -> None:
|
|
pass
|
|
|
|
|
|
pipeline.add_command(run_pipe)
|
|
pipeline.add_command(run_analysis)
|