Last active
March 2, 2022 08:35
-
-
Save natiginfo/cf62d9a89801ac9dcdb5f2ccaf48d292 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import typer | |
def main( | |
city: str = typer.Option(..., prompt=True), | |
country: str = typer.Option(..., prompt=True) | |
): | |
# write some code | |
print(city, country) | |
if __name__ == "__main__": | |
typer.run(main) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment