Skip to content

Commit

Permalink
Merge pull request #101 from adfinis/jlf/chore-remove-useless-option-…
Browse files Browse the repository at this point in the history
…from-base-command

chore: remove useless option from base command
  • Loading branch information
Jean-Louis Fuchs authored Apr 9, 2024
2 parents 4928d0c + 9513ce3 commit a0613a2
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions pyaptly/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,19 +51,9 @@ def __init__(self, **kwargs):


@click.group()
@click.option(
"-d/-nd",
"--debug/--no-debug",
type=bool,
default=False,
help="Add default values to fields if missing",
)
def cli(debug: bool):
"""Show basic command group."""
from pyaptly import util

util._DEBUG = debug

pass

# TODO legacy is here to be able to do early alpha and get feedback from users.
# remove when there is full replacement.
Expand Down

0 comments on commit a0613a2

Please sign in to comment.