Closed jpco closed 10 months ago
When I filed #60 I forgot that es already has built-in option parsing! So for consistency and concision's sake let's use that for main() as well.
Seems to work with trip.es and GCDEBUG (when built on top of #52).
I tried a much more extreme change to main and other es entry points in https://github.com/jpco/es-shell/blob/es-main/runtime.es#L219 but couldn't get the exact behavior right :/
This fixes #60. Should be otherwise completely transparent to users.
Looks good - thanks! Checked for plausibility; will now run it myself for a while.
When I filed #60 I forgot that es already has built-in option parsing! So for consistency and concision's sake let's use that for main() as well.
Seems to work with trip.es and GCDEBUG (when built on top of #52).
I tried a much more extreme change to main and other es entry points in https://github.com/jpco/es-shell/blob/es-main/runtime.es#L219 but couldn't get the exact behavior right :/
This fixes #60. Should be otherwise completely transparent to users.