Simple CLI to interact with the REST API for foreman or the smart-proxy. http://theforeman.org/ Written in Python.
Make sure to change the default username/password and baseurl for your foreman installation or use the --username/password/url/port flags.
for-cli -q facts kernelversion
for-cli -q facts --host=host.example.com
for-cli -q status
for-cli -q dashboard
for-cli -q reports
for-cli -q reports --host=host.example.com
for-cli -q facts
for-cli -q os
for-cli -q hosts
for-cli -q hostgroups
for-cli -q ca
for-cli -q run --host=host.example.com