We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We have linux users who'd like to invoke a script as is (CLI) and we got Windows users who'd like to use the GUI that comes with the gooey decorator.
Is there an option/a way to make the script run as GUI if no arguments are passed and run as CLI if arguments are passed?
The text was updated successfully, but these errors were encountered:
Solved.
from app import main from gooey import Gooey # Decorator providing the GUI functionality @Gooey() def gui_main(): main() if __name__== "__main__" : gui_main()
Sorry, something went wrong.
No branches or pull requests
We have linux users who'd like to invoke a script as is (CLI) and we got Windows users who'd like to use the GUI that comes with the gooey decorator.
Is there an option/a way to make the script run as GUI if no arguments are passed and run as CLI if arguments are passed?
The text was updated successfully, but these errors were encountered: