Skip to content

Commit

Permalink
fix global help message
Browse files Browse the repository at this point in the history
  • Loading branch information
leo-schick committed Nov 29, 2023
1 parent 18cc7e0 commit 478be84
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions mara_cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,10 @@
RESET = '\033[0m'


@click.group(help=("""
@click.group(help="""
The Mara ETL Framework is a Python framework to build data pipelines.
Contributed functionality (ETL runners, downloader,...) are available as subcommands."""
+ ("""
To run the flask webapp, use 'flask run'.
""") if 'mara_app' in sys.modules else ''))
Contributed functionality (ETL runners, downloader,...) are available as subcommands.""")
@click.option('--debug', default=False, is_flag=True, help="Show debug output")
@click.option('--log-stderr', default=False, is_flag=True, help="Send log output to stderr")
def cli(debug: bool, log_stderr: bool):
Expand Down

0 comments on commit 478be84

Please sign in to comment.