Closed isamu closed 10 months ago
The introduced changes enhance the application's flexibility by adding command-line argument parsing. This allows users to specify the debug mode and port number when running the application, thereby enabling different configurations directly from the command line.
File | Summary |
---|---|
main.py |
Added command-line argument parsing using argparse . Introduced --debug and --port options to enable debug mode and specify port number respectively. Modified app.run() to use parsed arguments. |
🎉🐇
With a hop and a skip, the code takes a dip,
Into the world of args, where options flip.
Debug or not, choose your port slot,
Run the app, hot on the spot! 🚀
Add --debug, --port option.
Summary by CodeRabbit