o
    i                     @   sD   d Z ddlZddlZddlZdZdd Zedkr ee  dS dS )a  
Register a Python executable for use with the argcomplete module.

To perform the registration, source the output of this script in your bash shell
(quote the output to avoid interpolation).

Example:

    $ eval "$(register-python-argcomplete my-favorite-script.py)"

For Tcsh

    $ eval `register-python-argcomplete --shell tcsh my-favorite-script.py`

For Fish

    $ register-python-argcomplete --shell fish my-favourite-script.py > ~/.config/fish/my-favourite-script.py.fish
    Nzargcomplete.scriptsc               	   C   s   t jtt jd} | jdddddd | jdt jd	d
 | jdddddd | jdddd | jdddd
 t|  tt	j
dkrJ|   t	d |  }t	jt|j|j|j|j|j d S )N)descriptionformatter_classz--no-defaultsuse_defaultsstore_falseTzcwhen no matches are generated, do not fallback to readline's default completion (affects bash only))destactiondefaulthelpz--complete-argumentsz`arguments to call complete with; use of this option discards default options (affects bash only))nargsr	   z-sz--shell)bashzshtcshfish
powershellr   z#output code for the specified shell)choicesr   r	   z-ez--external-argcomplete-scriptzAexternal argcomplete script for auto completion of the executable)r	   
executable+z;executable to completed (when invoked by exactly this name)   )argparseArgumentParser__doc__RawDescriptionHelpFormatteradd_argument	REMAINDERargcompleteautocompletelensysargv
print_helpexit
parse_argsstdoutwrite	shellcoder   r   shellcomplete_argumentsexternal_argcomplete_script)parserargs r*   u/var/www/html/karishye-ai-python/venv/lib/python3.10/site-packages/argcomplete/scripts/register_python_argcomplete.pymain#   sD   

r,   __main__)r   r   r   r   __package__r,   __name__r    r*   r*   r*   r+   <module>   s   +