sverweij / dependency-cruiser

Validate and visualize dependencies. Your rules. JavaScript, TypeScript, CoffeeScript. ES6, CommonJS, AMD.
https://npmjs.com/dependency-cruiser
MIT License
5.15k stars 249 forks source link

refactor(depcruise-baseline|depcruise-fmt): replaces commander with parseArgs from node:util #918

Closed sverweij closed 5 months ago

sverweij commented 6 months ago

This seems like a neat idea, but especially the dependency-cruise cli uses quite a lot of the functionality in commander (defaults, validation, negation, kebab-to-camel, help formatting), part of which we'd have to re-implement locally, which wouldn't add to the reliability or maintainability of our code.

Hence: closed without merging.

Description

uses parseArgs instead of commander for

Motivation and Context

B.t.w.

How Has This Been Tested?

Types of changes

Checklist

codeclimate[bot] commented 6 months ago

Code Climate has analyzed commit 10cd43f5 and detected 0 issues on this pull request.

View more on Code Climate.