Open fiatjaf opened 3 days ago
This brings back (and improves) the reorderFlags function from v1 that allows flags to be specified after arguments and still work. It's a very much requested feature, see https://github.com/urfave/cli/issues/1733 and https://github.com/urfave/cli/issues/976.
reorderFlags
Fixes #976
I've done some manual testing.
I did something similar in another repo if you need this: https://github.com/urfave/cli/issues/1583#issuecomment-1385733549
What type of PR is this?
What this PR does / why we need it:
This brings back (and improves) the
reorderFlags
function from v1 that allows flags to be specified after arguments and still work. It's a very much requested feature, see https://github.com/urfave/cli/issues/1733 and https://github.com/urfave/cli/issues/976.Which issue(s) this PR fixes:
Fixes #976
Testing
I've done some manual testing.