Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rich helps always show parameter default: None for parameters that haven't any default value #442

Open
7 tasks done
AlirezaTheH opened this issue Aug 12, 2022 · 0 comments
Labels
question Question or problem

Comments

@AlirezaTheH
Copy link

First Check

  • I added a very descriptive title to this issue.
  • I used the GitHub search to find a similar issue and didn't find it.
  • I searched the Typer documentation, with the integrated search.
  • I already searched in Google "How to X in Typer" and didn't find any information.
  • I already read and followed all the tutorial in the docs and didn't find an answer.
  • I already checked if it is not related to Typer but to Click.

Commit to Help

  • I commit to help with one of those options 👆

Example Code

import typer

def main(name: str):
    typer.echo(f'Name: {name}')

if __name__ == '__main__':
    typer.run(main)

Description

Rich helps always shows parameter default: None for parameters that haven't any default value.

Operating System

macOS

Operating System Details

No response

Typer Version

0.6.1

Python Version

3.10

Additional Context

No response

@AlirezaTheH AlirezaTheH added the question Question or problem label Aug 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Question or problem
Projects
None yet
Development

No branches or pull requests

1 participant