ElonVolo / evcodeshift

A JavaScript codemod toolkit.
MIT License
16 stars 1 forks source link

Remove dependency on argument name alphabetical order #1

Closed ElonVolo closed 2 years ago

ElonVolo commented 2 years ago

Previously certain orders that were used to parse command line arguments were done alphabetically, which made adding new command line arguments and ensuring their proper ordering in the help section very difficult. This commit changes the indexing of arguments to be numerically based, so command line arguments can be put into the help section in any order that's required.