Files
monasca-agent/monasca_agent/win32/shell.py
gary-hessler 34d82d455e Renaming agent packages to reflect monasca
Renamed monagent package to monasca_agent and monsetup package to monasca_setup.
Also, renamed the monstatsd agent package to statsd to more closely match the internal
collector and forwarder packages.

Change-Id: I0649ae4341fe325007e2a8d37161d330e4c95d72
2014-12-19 09:22:03 -07:00

20 lines
340 B
Python

import traceback
def shell():
from config import get_version
print("""
Datadog Agent v%s - Python Shell
""" % (get_version()))
while True:
cmd = raw_input('>>> ')
try:
exec(cmd)
except Exception as e:
print(traceback.format_exc(e))
if __name__ == "__main__":
shell()