OwlCyberSecurity - MANAGER
Edit File: cli.cpython-39.pyc
a gH�f � @ sR d Z ddlZddlZddlmZ ddlZddlmZ dd� Zdd� Z dd d �Z dS )ae Module that contains the command line app. Why does this file exist, and why not put this in __main__? You might be tempted to import things from __main__ later, but that will cause problems: the code will get executed twice: - When you run `python -m sqlparse` python will execute ``__main__.py`` as a script. That means there won't be any ``sqlparse.__main__`` in ``sys.modules``. - When you import __main__ it will get executed again (as a module) because there's no ``sqlparse.__main__`` in ``sys.modules``. Also see (1) from http://click.pocoo.org/5/setuptools/#setuptools-integration � N)� TextIOWrapper)� SQLParseErrorc C s� g d�} t jdddd�}|�d� |jddd d dd� |jd dtjd� |�d�}|jdddd| d�d�dd� | D ���d� |jdddd| d�d�dd� | D ���d� |jdd d!d"d#d$gd%d� |jd&d'd(d)d*d+� |jd,d-d.d(d)d/d+� |jd0d1d2td3d4� |jd5d6d(d)d7d+� |jd8d9d(d)d:d+� |jd;d<d(d)d=d>� |jd?d@d(d)dAd>� |jdBdCdDtdEd4� |jdFdGd)t dHd4� |jdIdJd)t dKd4� |jdLdMdNdOdP� |S )QN)�upper�lower� capitalizeZ sqlformatzEFormat FILE according to OPTIONS. Use "-" as FILE to read from stdin.z%(prog)s [OPTIONS] FILE, ...)�prog�description�usage�filenamez-oz --outfile�outfile�FILEz)write output to FILE (defaults to stdout))�dest�metavar�helpz --version�version)�actionr zFormatting Optionsz-kz --keywordsZCHOICEZkeyword_casez,change case of keywords, CHOICE is one of {}z, c s s | ]}d � |�V qdS �z"{}"N��format��.0�x� r �N/home/gouroczh/virtualenv/test/3.9/lib/python3.9/site-packages/sqlparse/cli.py� <genexpr>? � z create_parser.<locals>.<genexpr>)r r �choicesr z-iz --identifiersZidentifier_casez/change case of identifiers, CHOICE is one of {}c s s | ]}d � |�V qdS r r r r r r r G r z-lz --language�LANGZ output_format�python�phpzJoutput a snippet in programming language LANG, choices are "python", "php"z--strip-comments�strip_comments� store_trueFzremove comments)r r �defaultr z-rz --reindentZreindentzreindent statementsz--indent_widthZindent_width� z(indentation width (defaults to 2 spaces))r r"