diosney / node-iproute

Show and manipulate network devices, routing, policy routing and tunnels.
MIT License
31 stars 15 forks source link

feature request: batch mode #1

Closed zh99998 closed 1 year ago

zh99998 commented 9 years ago

iproute2 has a "-b" param that can accept multi commands at a time, like this https://github.com/ashi009/bestroutetb/issues/11 it's really useful when executing thousands of iproute2 commands.

diosney commented 9 years ago

Sure! I will look into it and let you know.

diosney commented 9 years ago

BTW If you can contribute a PR will be more than welcome :smile:

zh99998 commented 7 years ago

closing this since long time inactive

diosney commented 7 years ago

Sorry, was very busy in other projects...

I will reopen this, since I plan to refresh this project anytime soon, please, keep it that one until a PR is contributed by me or anyone else :D

diosney commented 1 year ago

Done in v2.0.0-beta.3.

I surely took my time on this, sorry 🥲 , life is richer than we expect.

See API docs: https://diosney.github.io/node-iproute/modules/batch.html

Examples: https://github.com/diosney/node-iproute/blob/master/EXAMPLES.md#ip--batch-batch-mode-support--man-page