From 97816c6019812a5b9921a6fe093889e059930d21 Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Wed, 10 Apr 2024 03:12:17 +0200 Subject: [PATCH] Be `--verbose` by default --- doc/backlog.rst | 2 +- influxio/cli.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/backlog.rst b/doc/backlog.rst index 89d35fa..d6d6c5a 100644 --- a/doc/backlog.rst +++ b/doc/backlog.rst @@ -20,7 +20,6 @@ Iteration +1 - [o] More refinements - [o] ``list-buckets`` subcommand, for both API and data directory - [o] Progress bars for non-Dask tasks -- [o] Verbose by default? ************ @@ -74,3 +73,4 @@ Done - [x] Fix ``.from_lineprotocol`` - [x] Parameters bucket-id and measurement are obligatory on data directory export. Verify that. +- [x] Be ``--verbose`` by default diff --git a/influxio/cli.py b/influxio/cli.py index d28486d..763c08d 100644 --- a/influxio/cli.py +++ b/influxio/cli.py @@ -127,7 +127,7 @@ def help_copy(): @click.group() @click.version_option(package_name="influxio") -@click.option("--verbose", is_flag=True, required=False, help="Turn on logging") +@click.option("--verbose", is_flag=True, required=False, default=True, help="Turn on logging") @click.option("--debug", is_flag=True, required=False, help="Turn on logging with debug level") @click.pass_context def cli(ctx: click.Context, verbose: bool, debug: bool):