Prusias-kol / pLooper

MIT License
3 stars 2 forks source link

Reduced number of "magic strings" in the script #7

Closed Glitched94 closed 8 months ago

Glitched94 commented 9 months ago

Reasoning: errors in cli_execute aren't caught until the script actually calls that line of the code. By switching to ash's methods, we can front-load when the errors occur for better testing.

Glitched94 commented 9 months ago

I also created the initBase() method and moved all redundant init steps into that, then called it from init and initSmol, doing my best to implement DRY principles!