Skip to content

Commit

Permalink
convert verbose from bool to count
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam-D-Lewis committed Jun 4, 2024
1 parent 7c90e58 commit f4508cb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/_nebari/subcommands/init.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class InitInputs(schema.Base):
ssl_cert_email: Optional[schema.email_pydantic] = None
disable_prompt: bool = False
output: pathlib.Path = pathlib.Path("nebari-config.yaml")
verbose: bool = False
verbose: int = 0


def enum_to_list(enum_cls):
Expand Down Expand Up @@ -566,10 +566,11 @@ def init(
"-o",
help="Output file path for the rendered config file.",
),
verbose: bool = typer.Option(
verbose: int = typer.Option(
False,
"--verbose",
"-v",
count=True,
help="Write verbose nebari config file.",
),
):
Expand Down

0 comments on commit f4508cb

Please sign in to comment.