Heat is a collection of fun tools that have nothing to do with one another. It's a Swiss army knife of fun in the CLI, you can look busy, check the weather, ping an API, and a lot more all in one central shell script. Functionality will be added.
Practical usage of Heat is to clone this repo, install heat
by running chmod u+x heat
. Then place Heat in your /usr/local/bin
directory.
So you'd run heat -z
to get the weather as an example. This is what heat -z
looks like:
Here's the current .travis.yml
file I've created for my project called heat-cli
:
language: shell
before_script:
- chmod u+x heat
- sudo chmod +x /usr/local/bin
- sudo mv heat /usr/local/bin
script:
- heat -v
- heat -t # Fetches older versions of the Linux kernel.
- heat -c
- heat -z
In the above .travis.yml
I've instructed Travis to change permissions to some directories, move the file entitled heat
, which is heat-cli
, over to /usr/local/bin
. You'll then notice I run Heat by just running some test commands, such as:
heat -v
heat -t
heat -c
heat -z
This is what it will look like if your build is successful, it's going to call a weather API and spit the results out in a VM:
Using the LookBusy
function in Heat is quite simple. Just add heat -t
, this will make you look busy if someone looks at your monitor and you're in the CLI. You'll need to set a sleep
flag, so this ultimately gets cancelled, if you don't Travis will end up getting stuck. So just add something like sleep 20
.
Turn up the heat, and try Heat out yourself.
If you have any questions about Heat please email me at montana@linux.com.