Skip to content

Conversation

leunga1000
Copy link
Contributor

Add name == "main" clauses and a make_app function so that the app can be run with the CLI too.

Description

This PR fixes #168

Add __name__ == "__main__" clauses and a make_app function so that the app can be run with the CLI too.
Copy link
Owner

@cirospaciari cirospaciari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you

@cirospaciari cirospaciari merged commit 293b2a9 into cirospaciari:main May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can we add if __name__ == "__main__": guards to the hello world examples and the documentation examples?
2 participants