summaryrefslogtreecommitdiff
path: root/listcommands.py
diff options
context:
space:
mode:
authorSanto Cariotti <sancn@live.com>2017-07-20 14:24:08 +0200
committerSanto Cariotti <sancn@live.com>2017-07-20 14:24:08 +0200
commitb34e6c27aa640e4bd4bde91d684e1e59095ba8b1 (patch)
tree14aa4c5b2b384535c6d379143f441625c7039722 /listcommands.py
parentfb3d4d39eded67b145aa17eac72ae85c9793bf67 (diff)
Moved files
Moved all files of lib into a lib dir
Diffstat (limited to 'listcommands.py')
-rw-r--r--listcommands.py27
1 files changed, 0 insertions, 27 deletions
diff --git a/listcommands.py b/listcommands.py
deleted file mode 100644
index 8313d26..0000000
--- a/listcommands.py
+++ /dev/null
@@ -1,27 +0,0 @@
-import sys
-from classes import Colors
-
-class ListCommands(object):
-
- info = {
- 'info' : 'this is stout',
- 'set' : ['set a value', 3],
- }
-
- commands = {
- 'quit' : None,
- 'clear' : None,
- 'set' : ['user'],
- 'get' : ['user', 'user?', 'host', 'port']
- }
-
- @staticmethod
- def err(err, info = ''):
- if err == 'keyword':
- sys.stderr.write(Colors.red + 'keyword inesistente\n' + Colors.black)
- elif err == 'wrong':
- sys.stderr.write(Colors.red + 'sintassi comando errata\n' + Colors.black)
- elif err == 'personal':
- sys.stderr.write(Colors.red + str(info) + '\n' + Colors.black)
- else:
- pass