❌@squoosh/cli
2023/1頃に開発終了したらしい
Unfortunately, due to a few people leaving the team, and staffing issues resulting from the current economic climate (ugh), the CLI and libsquoosh packages are no longer actively maintained. I know that sucks, but there simply isn't the time & people to work on this. If anyone from the community wants to fork it, you have my blessing. The squoosh.app web app will continue to be supported and improved. ref https://gyazo.com/dd046b1cb30ed7b5eaddc485ddeebda6
このwindow右上のCLIボタンを押すと、コマンドがクリップボードに入る
$ npx @squoosh/cli --resize '...'これの末尾にファイル名を指定すれば実行できる
複数同時に
$ npx @squoosh/cli *.png
$ find *.png | xargs npx @suoosh/cli
xargsの-Lとか-Pとかで良い感じにやれば良い