Changes between Version 18 and Version 19 of Plugin
- Timestamp:
- Nov 8, 2017, 4:42:18 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Plugin
v18 v19 188 188 #command to change the prompt 189 189 def preloop(self, *args, **opts): 190 """only change the prompt after calling the mother preloop command" 190 """only change the prompt after calling the mother preloop command""" 191 191 super(NewInterface, self).preloop(*args,**opts) 192 192 self.prompt = 'Hello? >' … … 202 202 The above command create you a shell where you have access to one additional command "helloworld" 203 203 {{{ 204 MG5_aMC>helloworld204 Hello? >helloworld 205 205 hello world 206 206 }}}