source: dassmodus/trunk/dassmodus/nosferatu/nosferatu/command.py@ 953

Last change on this file since 953 was 953, checked in by pstorz, on Sep 28, 2011 at 11:32:32 AM

first checkin

File size: 542 bytes
Line 
1# $Id: command.py 12290 2011-02-10 14:02:38Z pstorz $
2class command(object):
3 '''
4 this class contains the information to a console command, also dot commands
5 '''
6 def __init__(self, commandtext, commandname, usage, help, inrunscript):
7 self.commandtext = commandtext
8 self.commandname = commandname
9 self.usage = usage
10 self.help = help
11 self.inrunscript = inrunscript
12
13 def __repr__(self):
14 return "command('%s','%s','%s','%s','%s')" % (self.commandtext, self.commandname, self.usage, self.help, self.inrunscript)
15
16
Note: See TracBrowser for help on using the repository browser.