donmccurdy / glTF-Transform

glTF 2.0 SDK for JavaScript and TypeScript, on Web and Node.js.
https://gltf-transform.dev
MIT License
1.3k stars 145 forks source link

feat(cli): Added prune options in `optimize` command #1298

Closed subho57 closed 3 months ago

subho57 commented 4 months ago

Discussion Reference: https://github.com/donmccurdy/glTF-Transform/discussions/1296

The tests seem to be passing in my local: Screenshot 2024-03-06 at 5 47 12 AM

donmccurdy commented 3 months ago

Thanks @subho57! I think I will remove --prune-indices, since I expect that to be very rarely used if at all, but let me know if you have any concerns with that. :)