def publish_cmdline(reader=None, reader_name='standalone', parser=None, parser_name='restructuredtext', writer=None, writer_name='pseudoxml', settings=None, settings_spec=None, settings_overrides=None, config_section=None, enable_exit_status=True, argv=None, usage=default_usage, description=default_description):
 pub = Publisher(reader, parser, writer, settings=settings)
 pub.set_components(reader_name, parser_name, writer_name)
 output = pub.publish(argv, usage, description, settings_spec, settings_overrides, config_section=config_section, enable_exit_status=enable_exit_status)
 return output

def publish_cmdline ( reader = None , reader_name = 'standalone' , parser = None , parser_name = 'restructuredtext' , writer = None , writer_name = 'pseudoxml' , settings = None , settings_spec = None , settings_overrides = None , config_section = None , enable_exit_status = True , argv = None , usage = default_usage , description = default_description ) : pub = Publisher ( reader , parser , writer , settings = settings ) pub . set_components ( reader_name , parser_name , writer_name ) output = pub . publish ( argv , usage , description , settings_spec , settings_overrides , config_section = config_section , enable_exit_status = enable_exit_status ) return output
set up & run a publisher for command-line-based file i/o .