title: How can I extend a class instance?
body: <p>I have the following code, which is a command line test</p>
  
  <pre><code>from cmd2 import Cmd
  class App(Cmd, object):
      def __init__(self, *args, **kwargs):
              pass
  
      def do_test(self, line):
          'test'
          print "parent test"
  
  
  class App2():
      def __init__(self, *args, **kwargs):
              pass
  
      def do_test2(self, line):
          print "Test2"           
  
  
  app = App()
  app.cmdloop()
  </code></pre>
  
  <p>Is there a possibility to extend the App class with extra functions?
  I know there is the following solution</p>
  
  <pre><code>class App2(App):
       ....   
  
  app = App2()
  app.cmdloop()
  </code></pre>
  
  <p>but in my case I would like to run only the <code>App</code> and extend it if it is possible. </p>