Skip to content

Commit

Permalink
Help methods on console script
Browse files Browse the repository at this point in the history
  • Loading branch information
hyades committed Jan 7, 2015
1 parent 0a36c73 commit 2984fb1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions console.py
Original file line number Diff line number Diff line change
@@ -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')
Expand All @@ -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()
Expand Down

0 comments on commit 2984fb1

Please sign in to comment.