/s-cli

Parse 💩 from your os with nodejs

Primary LanguageJavaScriptMIT LicenseMIT

s-cli

CircleCI codecov NPM version

Super cli 🦸

A node js tool to help you parse 💩 from bash/sh

Usage

After installing the module:

yarn global add @george-aidonidis/s-cli
# or with npm
npm install -g @george-aidonidis/s-cli

You can use like this:

s-cli # outputs help instructions

s-cli -b # outputs the remaining battery by sending a notification

Battery module

Parses info from acpi and sends them a notification through notify-send command

gif

  • Dependencies
    • acpi
    • acpitool

Contributing

  1. Fork it (https://github.com/George-Aidonidis/s-cli/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

License

MIT ©