exec-near
v0.2.0
Published
Run commands in the directory of the nearest matching file
Readme
exec-near
Run commands in the directory of the nearest matching file.
Installation 💿
npm install exec-nearUsage 🚀
# Run Prettier in package folders with prettier.config.js
npx exec-near --with packages/**/*.ts --find prettier.config.js -- npx prettier --check --write
# Run Biome in package folders with biome.json
npx exec-near --with packages/**/*.ts --find biome.json -- npx biome check --writeSee npx exec-near --help for all available options.
License ©️
This work is licensed under The MIT License.
