Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 4 additions & 9 deletions src/dm_bip/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import click

from dm_bip import __version__
from dm_bip.main import demo

__all__ = [
"main",
Expand All @@ -19,12 +18,7 @@
@click.option("-q", "--quiet")
@click.version_option(__version__)
def main(verbose: int, quiet: bool):
"""
CLI for dm-bip.

:param verbose: Verbosity while running.
:param quiet: Boolean to be quiet or verbose.
"""
"""CLI for dm-bip."""
if verbose >= 2:
logger.setLevel(level=logging.DEBUG)
elif verbose == 1:
Expand All @@ -37,8 +31,9 @@ def main(verbose: int, quiet: bool):

@main.command()
def run():
"""Run the dm-bip's demo command."""
demo()
"""Display usage information for the dm-bip pipeline."""
click.echo("The dm-bip pipeline is run using make.")
click.echo("Run 'make help' to see available targets and usage information.")


if __name__ == "__main__":
Expand Down
9 changes: 0 additions & 9 deletions src/dm_bip/main.py
Original file line number Diff line number Diff line change
@@ -1,10 +1 @@
"""Main python file."""


def demo():
"""Define API."""
print("Hello, World!")


if __name__ == "__main__":
demo()
Loading