Skip to content

Instantly share code, notes, and snippets.

@Mgancita
Last active February 13, 2022 20:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Mgancita/07969d2f287cfd605d47d7ba396b7fdd to your computer and use it in GitHub Desktop.
Save Mgancita/07969d2f287cfd605d47d7ba396b7fdd to your computer and use it in GitHub Desktop.
Typer Example
import typer
def main(name: str):
print(f"Hello {name}")
if __name__ == "__main__":
typer.run(main)
>>> python typer-example.py Marco
Hello Marco
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment