Changes between Version 18 and Version 19 of Plugin


Ignore:
Timestamp:
Nov 8, 2017, 4:42:18 PM (7 years ago)
Author:
Olivier Mattelaer
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Plugin

    v18 v19  
    188188    #command to change the prompt
    189189    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"""
    191191        super(NewInterface, self).preloop(*args,**opts)
    192192        self.prompt = 'Hello? >'
     
    202202The above command create you a shell where you have access to one additional command "helloworld"
    203203{{{
    204 MG5_aMC>helloworld
     204Hello? >helloworld
    205205hello world
    206206}}}