U
    dc                     @   s"   d Z ddlmZ G dd dZdS )zTablib - Command-line Interface table export support.

   Generates a representation for CLI from the dataset.
   Wrapper for tabulate library.
    )tabulatec                   @   s$   e Zd ZdZdZdZedd ZdS )	CLIFormatz+ Class responsible to export to CLI Format cliplainc                 K   s.   |j r|d|j  |d| j t|f|S )z(Returns CLI representation of a Dataset.headersZtablefmt)r   
setdefaultDEFAULT_FMTTabulate)clsZdatasetkwargs r   7/tmp/pip-unpacked-wheel-_3ph8cfy/tablib/formats/_cli.py
export_set   s    zCLIFormat.export_setN)__name__
__module____qualname____doc__titler   classmethodr   r   r   r   r   r   	   s
   r   N)r   r   r	   r   r   r   r   r   <module>   s   