code: def _handle_getconfig(self,cfg_file,*args,**options):
          
          if args:
              raise CommandError("supervisor getconfig takes no arguments")
          print cfg_file.read()
          return 0
docs: Command 'supervisor getconfig' prints merged config to stdout.