sahil-sagwekar2652 / GitHub-Automation-scripts

Bash and Python scripts to automate your Git & GitHub workflow. Made by using only standard python libraries.
https://sahil-sagwekar2652.github.io/GitHub-Automation-scripts/
MIT License
52 stars 64 forks source link

Update create_issue.py #146

Open hemant933 opened 8 months ago

hemant933 commented 8 months ago

I added a if name == "main": guard to ensure that the script's main functionality is only executed when the script run directly, not when it's imported as a module.

I replaced the use of args in the global scope with function parameters, making the code more modular and easier to understand.