os: Know your operating system from your terminal
Installing with Clib
$ clib install abranhe/osOtherwise you can install by running the following on your terminal (Unix only)
$ curl -s https://sh.abranhe.com/os | bashto uninstall it you can use
$ curl -s https://sh.abranhe.com/os/uninstall | bashIf you run:
$ os --help
You will get:
Usage: os [options]
Options:
-h, --help output help information
-v, --version output os version
Examples:
$ os
macOS
- os.c: API for this module written in C.
| Carlos Abraham |
MIT License © Carlos Abraham