Also, do y'all call main() in the if block or do you just put the code you want to run in the if block?

you are viewing a single comment's thread
view the rest of the comments
[–] 15 points 1 year ago

Why would you waste a function call on something so completely redundant?

For real though, arg parsing goes in the if, then gets dispatched to whatever function call is needed to run the proper script.

  • source
  • parent