Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/stagas/foreach-dir

Run a command inside each directory serially.
https://github.com/stagas/foreach-dir

Last synced: 14 days ago
JSON representation

Run a command inside each directory serially.

Awesome Lists containing this project

README

        


foreach-dir

Run a command inside each directory serially.



npm i foreach-dir -g

pnpm add foreach-dir -g

yarn global add foreach-dir

## API

# Options src/runner.ts#L7

# run(options) src/runner.ts#L23

    # options


    run(options)  =>



      Promise<void>

## Credits

- [decarg](https://npmjs.org/package/decarg) by [stagas](https://github.com/stagas) – decorator based cli arguments parser

## Contributing

[Fork](https://github.com/stagas/foreach-dir/fork) or [edit](https://github.dev/stagas/foreach-dir) and submit a PR.

All contributions are welcome!

## License

MIT © 2022 [stagas](https://github.com/stagas)