manage-wifi-cli
Turn your Wi-Fi on and off
macOS and Windows only, but pull request welcome for Linux support.
Install
$ npm install --global manage-wifi-cli
Usage
$ wifi --help
Usage
$ wifi <command>
Commands
on Turn Wi-Fi on
off Turn Wi-Fi off
toggle Toggle Wi-Fi
restart Turn Wi-Fi off & on
status Wi-Fi status
device Wi-Fi device name
Examples
$ wifi off
$ wifi status
off
$ wifi device
en0
Related
- manage-wifi - API for this module