The CLI for MacOS written in JavaScript
Inspided by the m-cli project.
DISCLAIMER: Package is still under heavy development. Features may change without notice.
npm install -g mac-os
$ mac
Usage: mac [options] [command]
Commands:
battery Battery Info
bluetooth Bluetooth Info
display Display Info
firewall Firewall Info
shutdown Shutdown Mac
help [cmd] display help for [cmd]
Options:
-h, --help output usage information
-V, --version output the version number
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -m 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request 🤘
Add support for:
- Disk
- DNS
- Dock
- Finder
- Add/Remove Firewall
- Gatekeeper
- Group
- Hostname
- Machine Info
- Lock
- Network
- Caffeinate
- Notification
- NTP
- Restart
- Safeboot
- Screencapture
- Screensaver
- Shutdown
- Sleep
- Timezone
- Trash
- Update
- User
- Volume
- VPN
- WiFi