Now, instead of git repo cloning, release archive is being used. And let's remove that sentence from README.
|6 months ago|
|src||6 months ago|
|.gitignore||1 year ago|
|LICENSE||1 year ago|
|Makefile||12 months ago|
|PKGBUILD||6 months ago|
|README.md||6 months ago|
Calculates cost of electricity.
How to use
$ kwh-cost [OPTIONS] price wattage interval [interval ..]
-v, --version to show program's version; and
-h, --help to show usage of a program.
price is a price per kWh.
wattage is how many Watts being consumed.
interval is for how long.
interval is in seconds, but you can specify a unit. Units are the following:
m for minutes;
h for hours; and
d for days. There could be as many
intervals passed as you need.
Here is an example:
$ kwh-cost 4.02 120 30d 2h
Will give 348.29.
make to build a program, and then
make install to copy executable in
/usr/bin/. Later, use
make uninstall to delete it, or just delete
You can take a PKGBUILD file and in a directory with it run
If you want to use a pre-built package for Arch from Releases, then install it using
pacman -U command.