Melee GCI Compiler is an application and scripting language that makes it easy for Super Smash Bros. Melee mod developers to inject custom code and data into Melee save files.
As anticipated in #8, I'm opening this PR to propose changes that phase out getopt in favor of argparse.
While the usage is essentially the same, my changes behave differently from your parameter handling in case script_path, input_gci and output_gci aren't provided.
In your version, the script aborts silently - in mine, a normal execution occurs but without saving anything, so the run is essentially simulated.
As anticipated in #8, I'm opening this PR to propose changes that phase out
getopt
in favor ofargparse
.While the usage is essentially the same, my changes behave differently from your parameter handling in case
script_path
,input_gci
andoutput_gci
aren't provided. In your version, the script aborts silently - in mine, a normal execution occurs but without saving anything, so the run is essentially simulated.