Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

chyzwar
Copy link

@chyzwar chyzwar commented Jul 3, 2025

  • Replace jake.program with minimist for CLI argument parsing
  • Add minimist dependency to package.json
  • Improve error handling for conflicting data input methods
  • Simplify option parsing with explicit alias and type definitions
  • Maintain backward compatibility with existing CLI interface

BREAKING CHANGE: None - CLI interface remains the same

Why minimist

  • very popular module
  • zero dependencies
  • well tested and maintained
  • have support for old node.js versions "node": ">= 0.4"

This would eliminate large dependacy tree comming from jake
image

Fixes:
#786
#744
#510
#659

Might help with
#518 this would reduce amount of packages installed and potential compact issues.
#690 we could use minimist unknown option to easily implement this.

Supersede
#645 previous attempt stalled because of to lack of parser test.

@chyzwar chyzwar force-pushed the f/migrate-cli-to-minimist branch from a07a508 to e120774 Compare July 3, 2025 11:56
chyzwar added 3 commits August 6, 2025 10:23
- Replace jake.program with minimist for CLI argument parsing
- Add minimist dependency to package.json
- Improve error handling for conflicting data input methods
- Simplify option parsing with explicit alias and type definitions
- Maintain backward compatibility with existing CLI interface

BREAKING CHANGE: None - CLI interface remains the same
@chyzwar chyzwar force-pushed the f/migrate-cli-to-minimist branch from e120774 to 5cddf76 Compare August 6, 2025 08:23
@chyzwar
Copy link
Author

chyzwar commented Aug 6, 2025

Rebased on latest main, @mde can please take a look ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant