From 2984fb184e3dbd058fb60766b74526ef34c67b65 Mon Sep 17 00:00:00 2001 From: Aayush Ahuja Date: Wed, 7 Jan 2015 23:50:58 +1300 Subject: [PATCH] Help methods on console script --- console.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/console.py b/console.py index 08acec8..e63ddc4 100644 --- a/console.py +++ b/console.py @@ -1,3 +1,10 @@ +""" +Usage - + + `python console.py` + (Cmd)help + +""" import sys import os sys.path.append(os.path.dirname(os.path.realpath(__file__)) + '/python-api') @@ -17,6 +24,9 @@ def do_get_compose_port(self, line): self.c.establish_connection() print self.c.get_compose_port() + def help_get_compose_port(self): + print "Get the Compose Port" + def do_get_encode_port(self, line): self.c = Controller() self.c.establish_connection()