UNPKG

repeat-cli-command

Version:

A simple CLI tool to run any command multiple times

39 lines (22 loc) 757 B
<h2 align=center>repeat-cli-command tool</h2> <p align="center"> </p> <p align="center"> repeat-cli-command is a tool that will run any CLI command for an X number of times. </p> <br> ## Installation Install the following package: ```bash npm install -D repeat-cli-command ``` --- ## How to run npx repeat-cli-command "YOUR_COMMAND" --times=NUMBER_OF_TIMES_THAT_WILL_BE_EXECUTED ```bash npx repeat-cli-command "npx playwright test" --times=5 ``` --- ## Contributions Feel free to open a pull request or drop any feature request or bug in the [issues](https://github.com/razvanvancea/repeat-cli-command/issues). Please see more details in the [contributing doc](https://github.com/razvanvancea/repeat-cli-command/blob/main/CONTRIBUTING.md).